Changeset 19238


Ignore:
Timestamp:
Oct 17, 2018, 10:55:04 AM (3 months 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.