/[PAMELA software]/chewbacca/YodaProfiler/src/GLTables.cpp
ViewVC logotype

Diff of /chewbacca/YodaProfiler/src/GLTables.cpp

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

revision 1.7 by mocchiut, Tue Jan 27 11:38:13 2009 UTC revision 1.9 by mocchiut, Tue Aug 4 13:58:15 2009 UTC
# Line 56  void GL_TABLES::Set(TString host, TStrin Line 56  void GL_TABLES::Set(TString host, TStrin
56    mp = psw.Data();    mp = psw.Data();
57  };  };
58    
59  Bool_t GL_TABLES::IsConnected(TSQLServer *&dbc){  //Bool_t GL_TABLES::IsConnected(TSQLServer *&dbc){
60    Bool_t GL_TABLES::IsConnected(TSQLServer *dbc){
61    //    //
62    //    //
63    //    //
# Line 92  Bool_t GL_TABLES::IsConnected(TSQLServer Line 93  Bool_t GL_TABLES::IsConnected(TSQLServer
93      TString host = fHost->Data();      TString host = fHost->Data();
94      TString user = fUser->Data();      TString user = fUser->Data();
95      TString psw = fPsw->Data();      TString psw = fPsw->Data();
96      dbc->Close();      if ( dbc ){
97      delete dbc;        dbc->Close();
98          delete dbc;
99        };
100      dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());      dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data());
101      //      //
102      myquery.str("");      myquery.str("");

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

  ViewVC Help
Powered by ViewVC 1.1.23