2 messages in com.mysql.lists.bugsanother bug report with mysql++
FromSent OnAttachments
Uri Even-Chen02 Mar 2000 15:50 
sin...@mysql.com03 Mar 2000 04:40 
Subject:another bug report with mysql++
From:Uri Even-Chen (webm@speedy.co.il)
Date:03/02/2000 03:50:59 PM
List:com.mysql.lists.bugs

another bug, more critical.

while running the simple1.cc program on my database, there was a Segmentation fault in the line pointed with "---->":

Result::iterator i; // The Result class has a read-only Random Access Iterator for (i = res.begin(); i != res.end(); i++) { ----> row = *i; cout << setw(17) << row[0] << setw(4) << row[1] << setw(7) << row["weight"] // you can use either the index number or column name when // retrieving the colume data as demonstrated above. << setw(7) << row[3] << row[4] << endl; }

also, the query.preview() returned an empty string, althought I had one record found (like expected) in res.size().

also, other programs caused Segmentation faults with mysql++. it may not be installed correctly on my system, but how do I check that?

Uri.

------------------------------- MySQL license: #7259 MySQL basic email support: #489

-------------------------------------------------------- Uri Even-Chen Speedy Software Raanana, Israel. E-mail: webm@speedy.co.il ICQ Number: 7461268 Phone Number: 09-7715013

-------------------------------------------------------- Welcome to Speedy Net (In Hebrew): http://www.speedy.co.il/ Speedy Dating (In Hebrew): http://www.speedy.co.il/dating/ Speedy Composer (In English): http://www.speedy.co.il/composer/

--------------------------------------------------------