5 messages in com.mysql.lists.plusplusRE: segmentation fault| From | Sent On | Attachments |
|---|---|---|
| Dan Adams | 08 Dec 2000 11:00 | |
| Dan Adams | 08 Dec 2000 12:42 | |
| Eric de Groot | 08 Dec 2000 13:16 | |
| Dan Adams | 08 Dec 2000 13:34 | |
| Dan Adams | 08 Dec 2000 13:39 |
| Subject: | RE: segmentation fault![]() |
|---|---|
| From: | Dan Adams (dan...@WPI.EDU) |
| Date: | 12/08/2000 01:34:19 PM |
| List: | com.mysql.lists.plusplus |
Do you know of any other api's?
-----Original Message----- From: William Lay [mailto:will...@teampcs.com] Sent: Friday, December 08, 2000 4:13 PM To: 'Dan Adams' Subject: RE: segmentation fault
It's very basic in terms of features, BUT very usable.
I found it in the "MySQL and mSQL" book from O'Reilly (the book is not so hot by the way). http://www.oreilly.com/catalog/msql/
There are three classes: Connection, Result, Row and the methods are essentially wrappers to the C API functions.
Complaint #1: You have to be careful with memory leaks...it doesn't call new/delete logically...in fact, it doesn't call delete at all! Complaint #2: The result set member of the Result object is not "re-usable." By that I mean once you iterate through the result set you can't go back to row 1 for example. This could be easily modified I'm sure.
The source code should be on the O'Reilly web site but I just crashed my browser looking for it!
-----Original Message----- From: Dan Adams [mailto:dan...@WPI.EDU] Sent: Friday, December 08, 2000 12:43 PM To: William Lay Cc: plusplus Subject: RE: segmentation fault
ooo. you have me interested. what is this api from oreilly?
-----Original Message----- From: William Lay [mailto:will...@teampcs.com] Sent: Friday, December 08, 2000 3:25 PM To: 'Dan Adams' Subject: RE: segmentation fault
...because MySQL++ is very fussy!
Please excuse my sarcasm! I'm very frustrated with the API in general (for production use at work I still use the VERY simple API from the O'Reilly book...you can get it from their website).
MySQL++ "looks" like a wonderful product BUT...I continually run into illogical bugs and the lack of documentation is atrocious.
Good luck!
Bill
-----Original Message----- From: Dan Adams [mailto:dan...@WPI.EDU] Sent: Friday, December 08, 2000 11:01 AM To: plusplus Subject: segmentation fault
Does anyone know why when I try to run my program or the example programs i get a segmentation fault?
----------------
"if you confess with your lips that Jesus is Lord and believe in your heart that God raised him from the dead, you will be saved." Romans 10:9




