--- chewbacca/PamOffLineSW/PacketUser.cpp 2009/08/05 18:48:42 1.8 +++ chewbacca/PamOffLineSW/PacketUser.cpp 2009/10/01 08:55:42 1.9 @@ -1,5 +1,5 @@ //============================================================================ -// $Id: PacketUser.cpp,v 1.7 2009-07-24 13:53:38 mocchiut Exp $ +// $Id: PacketUser.cpp,v 1.8 2009/08/05 18:48:42 pam-fi Exp $ // Description : //============================================================================ #include "PacketUser.h" @@ -1195,6 +1195,10 @@ cout << "Can not connect with MYSQL sever" << endl; } mainLogUtil->logAll("Connected to DB"); + stringstream myquery; + myquery.str(""); + myquery << "SET time_zone='+0:00'"; + sqlServer->Query(myquery.str().c_str()); //blocca le tabelle LockTables(tableTobeLocked); }