Changeset 19137


Ignore:
Timestamp:
08/03/18 21:08:14 (6 years ago)
Author:
tbretz
Message:
Bytes received and sent in the view of the client.
Location:
trunk/FACT++/src
Files:
3 edited

Legend:

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

    r19136 r19137  
    702702        try
    703703        {
     704            // Exchange _send and _received as it is the view of the server
    704705            const auto &res1 = connection.query("SHOW STATUS LIKE 'Bytes_%'").store();
    705             cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;
    706             cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;
     706            cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;
     707            cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;
    707708            cout << endl;
    708709        }
  • trunk/FACT++/src/root2sql.cc

    r19136 r19137  
    690690        try
    691691        {
     692            // Exchange _send and _received as it is the view of the server
    692693            const auto &res1 = connection.query("SHOW STATUS LIKE 'Bytes_%'").store();
    693             cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;
    694             cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;
     694            cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;
     695            cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;
    695696            cout << endl;
    696697        }
  • trunk/FACT++/src/rootifysql.cc

    r19136 r19137  
    945945        try
    946946        {
     947            // Exchange _send and _received as it is the view of the server
    947948            const auto &res1 = connection.query("SHOW STATUS LIKE 'Bytes_%'").store();
    948             cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;
    949             cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;
     949            cout << left << setw(16) << res1[1]["Variable_name"] << ' ' << Tools::Scientific(res1[0]["Value"]) << endl;
     950            cout << left << setw(16) << res1[0]["Variable_name"] << ' ' << Tools::Scientific(res1[1]["Value"]) << endl;
    950951            cout << endl;
    951952        }
Note: See TracChangeset for help on using the changeset viewer.