List:MySQL++« Previous MessageNext Message »
From:Etienne Hirt Date:April 14 2006 3:02pm
Subject:Re: Error when fetching data of a Union query with Version 2.1.0
View as plain text  
Dear Warren,

Thanks for the questions. Please find some answers and questions below

Warren Young wrote:

> Etienne Hirt wrote:
>
>> While fetching data from a union query as shown in the code fragment 
>> below I get the following error when fetching the data from the 
>> second part which is only one row. The same behaviour is found when 
>> using a similar query also limited to one row:
>
>
> 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?

>
> Were you have to use an earlier version successfully?

I did not use an earlier version

>
>
> Have you tried running the examples?

Which one do your recommend for testing? Is it the multiple query?

>
>
> It says you aren't catching an exception: is this code wrapped in a 
> try block?

yes but only mysql specific

>
>
> What is the type of this dbEvent data structure?

Its an SSQL:
sql_create_11 (Event, 2, 11, string, Measurements_ID, int32, 
Event_DataFilePos,
              mysqlpp::sql_char, Event_Type, int32, Event_Lat, int32, 
Event_Lon,
              int16, Event_Height, int16, Event_Speed, int16, 
Event_Direction,
              int16, Event_Accuracy, uint16, Event_Fix, string, 
Event_Comment)





-- 
++++++++++++++++++++++++++++++++++++++++++++++
Dr. Etienne Hirt          Art of Technology
Director R&D              www.art-of-technology.ch
Technoparkstrasse 1       Ph: +41-43-311 77 02
8005 Zurich               Sw: +41-43-311 77 00
Switzerland
==============================================

Thread
Error when fetching data of a Union query with Version 2.1.0Etienne Hirt11 Apr
  • Re: Error when fetching data of a Union query with Version 2.1.0Warren Young13 Apr
    • Re: Error when fetching data of a Union query with Version 2.1.0Etienne Hirt14 Apr
      • Re: Error when fetching data of a Union query with Version 2.1.0Warren Young15 Apr