8
0
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:
dimitr 2006-08-25 04:51:13 +00:00
parent 8dc8c23c1a
commit 67e061029f
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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);