Changeset 19238


Ignore:
Timestamp:
10/17/18 10:55:04 (6 years ago)
Author:
tbretz
Message:
Allow to use a dummy connection (empty uri)
File:
1 edited

Legend:

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

    r19191 r19238  
    606606
    607607    if (verbose>0)
    608         cout << "Server Version: " << connection.server_version() << endl;
    609 
    610     if (print_connection)
     608        cout << "Server Version: " << (connection.connected()?connection.server_version():"<n/a>") << endl;
     609
     610    if (print_connection && connection.connected())
    611611    {
    612612        try
Note: See TracChangeset for help on using the changeset viewer.