Changeset 15444 for trunk/Mars/msql
- Timestamp:
- 04/26/13 10:09:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msql/MSQLServer.cc
r15440 r15444 32 32 // 33 33 // Use it like TSQlServer: 34 // new MSQLServer("mysql://localhost:3306 ", "hercules", "stdmagicpassword");34 // new MSQLServer("mysql://localhost:3306?compress", "hercules", "stdmagicpassword"); 35 35 // // now start your TBrowser 36 36 // new TBrowser; … … 350 350 void MSQLServer::Print(Option_t *o) const /*FOLD00*/ 351 351 { 352 const TString opt(o); 353 if (!opt.IsNull()) 354 { 355 PrintQuery(o); 356 return; 357 } 358 352 359 switch (fType) 353 360 { … … 378 385 { 379 386 case kIsTable: 380 PrintQuery(Form("SHOW FUL lCOLUMNS FROM %s.%s", (const char*)fDataBase, (const char*)fTable));387 PrintQuery(Form("SHOW FULL COLUMNS FROM %s.%s", (const char*)fDataBase, (const char*)fTable)); 381 388 break; 382 389 383 390 case kIsColumn: 384 PrintQuery(Form("SHOW FUL lCOLUMNS FROM %s.%s LIKE %s", (const char*)fDataBase, (const char*)fTable, (const char*)fColumn));391 PrintQuery(Form("SHOW FULL COLUMNS FROM %s.%s LIKE %s", (const char*)fDataBase, (const char*)fTable, (const char*)fColumn)); 385 392 break; 386 393
Note:
See TracChangeset
for help on using the changeset viewer.