From 9a647c57e074c57a2e38456ee2a988616a02caa5 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Mon, 11 Jan 2016 15:32:45 +0900 Subject: [PATCH] ignore virtual_table_scan_flags --- util/SQLiteUtil.pm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/util/SQLiteUtil.pm b/util/SQLiteUtil.pm index c45356f..b525b5b 100644 --- a/util/SQLiteUtil.pm +++ b/util/SQLiteUtil.pm @@ -158,6 +158,16 @@ my %ignore = map {$_ => 1} qw/ OPEN_SUBJOURNAL OPEN_MASTER_JOURNAL OPEN_WAL /; +my $ignore_tag_re = join '|', qw/ + testing_interface library_version_numbers configuration_options + device_characteristics file_locking vfs_method xshmlock_index + mutex_types scan_status run_time_limit standard_file_control + status_parameters synchronization_type virtual_table_constraint + virtual_table_indexing_information checkpoint_operation_parameters + checkpoint_mode conflict_resolution text_encodings + virtual_table_scan_flags +/; + my %compat = map {$_ => 1} qw/ authorizer_action_codes authorizer_return_codes @@ -176,18 +186,7 @@ sub extract_constants { $tag =~ s/[ \-]+/_/g; ($tag) = $tag =~ /^(\w+)/; $tag =~ s/_$//; - if ($tag =~ / - testing_interface | - library_version_numbers | - configuration_options | device_characteristics | - file_locking | vfs_method | xshmlock_index | - mutex_types | scan_status | run_time_limit | - standard_file_control | status_parameters | - synchronization_type | virtual_table_constraint | - virtual_table_indexing_information | - checkpoint_operation_parameters | checkpoint_mode | - conflict_resolution | text_encodings - /x) { + if ($tag =~ /$ignore_tag_re/) { print "$tag is ignored\n" if $VERBOSE; $tag = ''; }