Author: wyoung
Date: Thu Nov 15 18:14:37 2007
New Revision: 1856
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1856&view=rev
Log:
Pointer handling bugfix
Modified:
trunk/lib/refcounted.cpp
Modified: trunk/lib/refcounted.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/refcounted.cpp?rev=1856&r1=1855&r2=1856&view=diff
==============================================================================
--- trunk/lib/refcounted.cpp (original)
+++ trunk/lib/refcounted.cpp Thu Nov 15 18:14:37 2007
@@ -52,6 +52,7 @@
RefCountedBuffer::init(const char* pd, size_type length,
mysql_type_info type, bool is_null)
{
+ data_ = 0;
refs_ = 1;
type_ = type;
is_null_ = is_null;
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits