Bug#466597: mysql++: is_connected_ member variable not initialized

2008-03-09 Thread Andres Salomon
On Sun, 09 Mar 2008 13:35:10 +0100 Martin Devera [EMAIL PROTECTED] wrote: Andres Salomon wrote: Hi, Are you sure about this? It looks like it's being set in the second constructor as well. If we connect to the database: success_ = is_connected_ = true; else:

Bug#466597: mysql++: is_connected_ member variable not initialized

2008-03-07 Thread Andres Salomon
Hi, Are you sure about this? It looks like it's being set in the second constructor as well. If we connect to the database: success_ = is_connected_ = true; else: success_ = is_connected_ = false; That should be initializing is_connected_, no? -- To

Bug#466597: mysql++: is_connected_ member variable not initialized

2008-02-19 Thread Martin Devera
Package: mysql++ Version: 2.3.2 Severity: normal is_connected_ member is initialized in one of Connection::Connection constructor but not in the second one. Thus valgrind shows this as use of uninitialized value.. See connection.cpp:116, add is_connected_(false) line there. -- System