Ignore:
Timestamp:
08/19/18 11:06:49 (6 years ago)
Author:
tbretz
Message:
For debugging purpose print the client version before the connection can fail.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/root2sql.cc

    r19178 r19180  
    598598    // Checking for database connection
    599599
     600    if (verbose>0)
     601    {
     602        cout << "Connecting to database...\n";
     603        cout << "Client Version: " << mysqlpp::Connection().client_version() << endl;
     604    }
     605
    600606    Database connection(uri);
    601607
    602608    if (verbose>0)
    603     {
    604         cout << "Client Version: " << connection.client_version() << '\n';
    605609        cout << "Server Version: " << connection.server_version() << endl;
    606     }
    607610
    608611    if (print_connection)
Note: See TracChangeset for help on using the changeset viewer.