MySQL Lists are EOL. Please join:

List:Bugs« Previous MessageNext Message »
From:Uri Even-Chen Date:March 2 2000 11:51pm
Subject:another bug report with mysql++
View as plain text  
another bug, more critical.

while running the 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
                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?

MySQL license: #7259
MySQL basic email support: #489
Uri Even-Chen
Speedy Software
Raanana, Israel.
E-mail: webmaster@stripped
ICQ Number: 7461268
Phone Number: 09-7715013
Welcome to Speedy Net (In Hebrew):
Speedy Dating (In Hebrew):
Speedy Composer (In English):
another bug report with mysql++Uri Even-Chen3 Mar
  • Re: another bug report with mysql++sinisa3 Mar