4 messages in com.mysql.lists.plusplusRe: Error when fetching data of a Uni...
FromSent OnAttachments
Etienne Hirt11 Apr 2006 11:57 
Warren Young13 Apr 2006 04:40 
Etienne Hirt14 Apr 2006 08:01 
Warren Young14 Apr 2006 15:36 
Subject:Re: Error when fetching data of a Union query with Version 2.1.0
From:Warren Young (mysq@etr-usa.com)
Date:04/14/2006 03:36:17 PM
List:com.mysql.lists.plusplus

Etienne Hirt wrote:

Some of the examples use this same mechanism, so I'd be surprised if the bug is truly in MySQL++.

I found no union query. Do you mean multiple queries?

No, I simply mean the model of calling use() to get a result set and then accessing the data with operator[](const char*).

Have you tried running the examples?

Which one do your recommend for testing?

Run all of simple* and custom* at least. If any of them fail, that could be a useful clue.

What is the type of this dbEvent data structure?

Its an SSQL:

Ah, that could be the problem. Try accessing the data fields directly, instead of assigning it to an SSQLS. It may be that SSQLS isn't flexible enough to deal with a result set coming from multiple tables.