diff --git a/src/zm_db.cpp b/src/zm_db.cpp index 186551673..3ab89386d 100644 --- a/src/zm_db.cpp +++ b/src/zm_db.cpp @@ -31,8 +31,10 @@ bool zmDbConnected = false; bool zmDbConnect() { // For some reason having these lines causes memory corruption and crashing on newer debian/ubuntu // But they really need to be here in order to prevent a double open of mysql - if ( zmDbConnected ) - return true; + //if ( zmDbConnected ) { + //Warning("Calling zmDbConnect when already connected"); + //return true; + //} if ( !mysql_init(&dbconn) ) { Error("Can't initialise database connection: %s", mysql_error(&dbconn));