Ignore:
Timestamp:
Oct 23, 2018, 8:32:10 PM (9 months ago)
Author:
tbretz
Message:
Improved output.
File:
1 edited

Legend:

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

    r19279 r19282  
    666666                connection.query("DROP TABLE `"+table+"`").execute();
    667667            if (verbose>0)
    668                 cout << "Table `" << table << "` dropped." << endl;
     668            {
     669                if (!dry_run)
     670                    cout << "Table `" << table << "` dropped." << endl;
     671                else
     672                    cout << "Dropping table `" << table << "`skipped!" << endl;
     673            }
     674
    669675        }
    670676    }
     
    692698
    693699    if (create && verbose>0)
    694         cout << "Table `" << table << "` created." << endl;
    695 
     700    {
     701        if (!dry_run)
     702            cout << "Table `" << table << "` created." << endl;
     703        else
     704            cout << "Creating table `" << table << "`skipped!" << endl;
     705    }
    696706
    697707    try
Note: See TracChangeset for help on using the changeset viewer.