--- chewbacca/YodaProfiler/src/R2-D2.cpp 2014/10/10 13:00:13 1.4 +++ chewbacca/YodaProfiler/src/R2-D2.cpp 2014/10/14 13:19:34 1.5 @@ -297,8 +297,9 @@ }; // myquery.str(""); - myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; - dbc->Query(myquery.str().c_str()); + myquery << "SET time_zone='+0:00';"; + delete dbc->Query(myquery.str().c_str()); + delete dbc->Query("SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"); // GL_ROOT *glroot = new GL_ROOT(); GL_RUN *glrun = new GL_RUN();