Parent Directory | Revision Log | Patch
revision 1.7 by mocchiut, Tue Jan 27 11:38:13 2009 UTC | revision 1.8 by mocchiut, Mon Jun 15 11:20:33 2009 UTC | |
---|---|---|
# | Line 92 Bool_t GL_TABLES::IsConnected(TSQLServer | Line 92 Bool_t GL_TABLES::IsConnected(TSQLServer |
92 | TString host = fHost->Data(); | TString host = fHost->Data(); |
93 | TString user = fUser->Data(); | TString user = fUser->Data(); |
94 | TString psw = fPsw->Data(); | TString psw = fPsw->Data(); |
95 | dbc->Close(); | if ( dbc ){ |
96 | delete dbc; | dbc->Close(); |
97 | delete dbc; | |
98 | }; | |
99 | dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); | dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
100 | // | // |
101 | myquery.str(""); | myquery.str(""); |
|
ViewVC Help | |
Powered by ViewVC 1.1.23 |