/[PAMELA software]/chewbacca/PamOffLineSW/PacketUser.cpp
ViewVC logotype

Diff of /chewbacca/PamOffLineSW/PacketUser.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by pam-fi, Wed Aug 5 18:48:42 2009 UTC revision 1.9 by mocchiut, Thu Oct 1 08:55:42 2009 UTC
# Line 1  Line 1 
1  //============================================================================  //============================================================================
2  // $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 $
3  // Description :  // Description :
4  //============================================================================  //============================================================================
5  #include "PacketUser.h"  #include "PacketUser.h"
# Line 1195  void PacketUser::OpenDBConnection(const Line 1195  void PacketUser::OpenDBConnection(const
1195          cout << "Can not connect with MYSQL sever" << endl;          cout << "Can not connect with MYSQL sever" << endl;
1196        }        }
1197        mainLogUtil->logAll("Connected to DB");        mainLogUtil->logAll("Connected to DB");
1198          stringstream myquery;
1199          myquery.str("");
1200          myquery << "SET time_zone='+0:00'";
1201          sqlServer->Query(myquery.str().c_str());
1202        //blocca le tabelle        //blocca le tabelle
1203        LockTables(tableTobeLocked);        LockTables(tableTobeLocked);
1204      }      }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23