--- chewbacca/YodaProfiler/src/GLTables.cpp 2012/05/15 14:04:39 1.17 +++ chewbacca/YodaProfiler/src/GLTables.cpp 2014/10/10 13:00:11 1.18 @@ -261,7 +261,7 @@ printf(" ...connection recovered, I can continue! \n"); // myquery.str(""); - myquery << "SET time_zone='+0:00'"; + myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; delete dbc->Query(myquery.str().c_str()); fNquery++; myquery.str(""); @@ -2363,7 +2363,7 @@ // Set the right time_zone (otherwise horrible things will occur! :) if ( !this->GetGLTABLES()->IsConnected(dbc) ) return -57; - delete dbc->Query("SET time_zone = '+0:00'"); + delete dbc->Query("SET time_zone = '+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"); // Do the query this->GetGLTABLES()->AddQ();