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:
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
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
3 matches
Mail list logo