Skip to content

Commit afb24d0

Browse files
committed
Add local/global modifiers for the db-info performance counters
1 parent f40d5b9 commit afb24d0

File tree

3 files changed

+108
-111
lines changed

3 files changed

+108
-111
lines changed

src/include/firebird/impl/inf_pub.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ enum db_info_types
192192
fb_info_max_blob_cache_size = 159,
193193
fb_info_max_inline_blob_size = 160,
194194

195+
fb_info_counts_scope_local = 161,
196+
fb_info_counts_scope_global = 162,
197+
195198
isc_info_db_last_value /* Leave this LAST! */
196199
};
197200

src/include/gen/Firebird.pas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4604,6 +4604,8 @@ IProfilerStatsImpl = class(IProfilerStats)
46044604
fb_info_wire_roundtrips = byte(158);
46054605
fb_info_max_blob_cache_size = byte(159);
46064606
fb_info_max_inline_blob_size = byte(160);
4607+
fb_info_counts_scope_local = byte(161);
4608+
fb_info_counts_scope_global = byte(162);
46074609
fb_info_crypt_encrypted = $01;
46084610
fb_info_crypt_process = $02;
46094611
fb_feature_multi_statements = byte(1);

0 commit comments

Comments
 (0)