mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Fixed a small issue noticed by Michal.
This commit is contained in:
parent
8dc8c23c1a
commit
67e061029f
@ -315,7 +315,7 @@ enum fids {
|
||||
f_mon_db_forced_writes,
|
||||
f_mon_db_res_space,
|
||||
f_mon_db_created,
|
||||
f_mon_db_size,
|
||||
f_mon_db_pages,
|
||||
f_mon_db_cur_mem,
|
||||
f_mon_db_max_mem,
|
||||
f_mon_db_page_reads,
|
||||
|
@ -311,7 +311,7 @@ void DatabaseSnapshot::putDatabase(Database* dbb, RecordBuffer* buffer)
|
||||
putField(record, f_mon_db_created, &dbb->dbb_creation_date.value());
|
||||
// database size
|
||||
temp_int64 = PIO_act_alloc(dbb);
|
||||
putField(record, f_mon_db_size, &temp_int64);
|
||||
putField(record, f_mon_db_pages, &temp_int64);
|
||||
// current memory usage
|
||||
temp_int64 = dbb->dbb_memory_stats.get_current_usage();
|
||||
putField(record, f_mon_db_cur_mem, &temp_int64);
|
||||
|
Loading…
Reference in New Issue
Block a user