Hi,
Which is safer :
1. mysqlpp::Connection con(mysqlpp::use_exceptions);
2. Connection* con=0;
I'm using Fedora Core 1 and I encountered problems in using the #2
statement. I read similar problems posted in the net, but I am hoping that
I will get a more concrete answer from the author of MySQL++. I think #1
statement is safer to avoid thread related problems. By the way, I'm
wrapping the MySQL++ objects in my custom made application shared library.
My application is single-threaded, but other libraries may be
multi-threaded. So my plan is to use #1 statement instead of #2 statement
since my application is single-threaded.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/