8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00
This commit is contained in:
robocop 2015-08-02 03:10:02 +00:00
parent 4878900f4a
commit 6684adf32e
3 changed files with 4 additions and 4 deletions

View File

@ -2521,7 +2521,7 @@ void BurpGlobals::print_stats(USHORT number)
} }
SINT64 cur_stats[LAST_COUNTER] = {0}; SINT64 cur_stats[LAST_COUNTER] = {0};
if((gbl_stat_flags & ~time_mask) && !gbl_stat_done) if ((gbl_stat_flags & ~time_mask) && !gbl_stat_done)
read_stats(cur_stats); read_stats(cur_stats);
for (int i = READS; i < LAST_COUNTER; i++) for (int i = READS; i < LAST_COUNTER; i++)

View File

@ -160,7 +160,7 @@ private:
struct UsedBdb struct UsedBdb
{ {
UsedBdb() : bdb(NULL), count(0) {} UsedBdb() : bdb(NULL), count(0) {}
UsedBdb(BufferDesc* _bdb) : bdb(_bdb), count(1) {} explicit UsedBdb(BufferDesc* _bdb) : bdb(_bdb), count(1) {}
BufferDesc* bdb; BufferDesc* bdb;
int count; int count;