mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Code simplification.
This commit is contained in:
parent
7a2b1b2654
commit
1817e2f0a1
@ -266,18 +266,17 @@ int INF_database_info(const SCHAR* items,
|
||||
break;
|
||||
|
||||
case isc_info_num_wal_buffers:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_buffer_size:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_ckpt_length:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_cur_ckpt_interval:
|
||||
case isc_info_wal_recv_ckpt_fname:
|
||||
case isc_info_wal_recv_ckpt_poffset:
|
||||
case isc_info_wal_grpc_wait_usecs:
|
||||
case isc_info_wal_num_io:
|
||||
case isc_info_wal_avg_io_size:
|
||||
case isc_info_wal_num_commits:
|
||||
case isc_info_wal_avg_grpc_size:
|
||||
// WAL obsolete
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
@ -290,36 +289,6 @@ int INF_database_info(const SCHAR* items,
|
||||
length = INF_convert(0, buffer);
|
||||
break;
|
||||
|
||||
case isc_info_wal_recv_ckpt_fname:
|
||||
// WAL obsolete
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_recv_ckpt_poffset:
|
||||
// WAL obsolete
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_grpc_wait_usecs:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_num_io:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_avg_io_size:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_num_commits:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
case isc_info_wal_avg_grpc_size:
|
||||
length = 0;
|
||||
break;
|
||||
|
||||
#ifdef SUPERSERVER
|
||||
case isc_info_current_memory:
|
||||
length = INF_convert(dbb->dbb_memory_stats.get_current_usage(), buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user