Ignore:
Timestamp:
08/03/18 21:08:14 (6 years ago)
Author:
tbretz
Message:
Bytes received and sent in the view of the client.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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        }
Note: See TracChangeset for help on using the changeset viewer.