2 messages in com.mysql.lists.plusplusRe: Problems with mysqlpp::Result
FromSent OnAttachments
Luca Béla Palkovics13 Jul 2007 12:53 
Ernest Bori15 Jul 2007 23:08 
Subject:Re: Problems with mysqlpp::Result
From:Ernest Bori (ebo@electrans.es)
Date:07/15/2007 11:08:22 PM
List:com.mysql.lists.plusplus

Hi!

Sometimes whe I got an error of this kind is becose I haven't catched al errors, try to put the code between a try catch and perhaps you´ll see that there is a
query error

Ernest Bori

On 13 Jul 2007 at 21:54, Luca Béla Palkovics wrote:

From: Luca Béla Palkovics <Baka@mailueberfall.de> To: <plus@lists.mysql.com> Subject: Problems with mysqlpp::Result Date sent: Fri, 13 Jul 2007 21:54:09 +0200

Hi,

I am using mysql++-2.3.2 with Visual Studio 2005.

*I can connect to MySQl *I can use querys

But I can't read results

query << "select * from MyDb"; =09 mysqlpp::Result res =3Dquery.store();

if (!res.empty()) { ...

Here already starting the problems res.empty() .. gives a big error..

and when I look in debug .. it looks like it's using bad pointers

Everything works fine.. only mysqlpp::Result make problems