Changeset 19180
- Timestamp:
- 08/19/18 11:06:49 (6 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fits2sql.cc
r19178 r19180 561 561 cout << "\n---------------------- Connecting database -------------------------" << endl; 562 562 563 Database connection(uri); 564 565 if (verbose>0) 566 { 567 cout << "Client Version: " << connection.client_version() << '\n'; 563 if (verbose>0) 564 { 565 cout << "Connecting to database...\n"; 566 cout << "Client Version: " << mysqlpp::Connection().client_version() << endl; 567 } 568 569 Database connection(uri); // Keep alive while fetching rows 570 571 if (verbose>0) 568 572 cout << "Server Version: " << connection.server_version() << endl; 569 }570 573 571 574 if (print_connection) -
trunk/FACT++/src/root2sql.cc
r19178 r19180 598 598 // Checking for database connection 599 599 600 if (verbose>0) 601 { 602 cout << "Connecting to database...\n"; 603 cout << "Client Version: " << mysqlpp::Connection().client_version() << endl; 604 } 605 600 606 Database connection(uri); 601 607 602 608 if (verbose>0) 603 {604 cout << "Client Version: " << connection.client_version() << '\n';605 609 cout << "Server Version: " << connection.server_version() << endl; 606 }607 610 608 611 if (print_connection) -
trunk/FACT++/src/rootifysql.cc
r19178 r19180 595 595 596 596 if (verbose>0) 597 cout << "Connecting to database..." << endl; 598 597 { 598 cout << "Connecting to database...\n"; 599 cout << "Client Version: " << mysqlpp::Connection().client_version() << endl; 600 } 599 601 600 602 Database connection(uri); // Keep alive while fetching rows 601 603 602 604 if (verbose>0) 603 {604 cout << "Client Version: " << connection.client_version() << '\n';605 605 cout << "Server Version: " << connection.server_version() << endl; 606 }607 606 608 607 if (print_connection)
Note:
See TracChangeset
for help on using the changeset viewer.