MT#58530 Fix regex to ignore tables

The exception '.+/accounting/cdr_[0-9]{6}/.+' ignores all elements of a
table (columns, indexes, etc) but not the table itself. It cases error:
=======================
Element: tables/accounting/cdr_202205 is missing in json file
=======================

So fix the regex.

Change-Id: Ie5c23a89e85281b0d2a436cea3b888cad5974c11
(cherry picked from commit a8e98fc1fd)
(cherry picked from commit 37e66aaa80)
mr11.5.1
Mykola Malkov 2 years ago
parent 31c390906a
commit fb3a17e05c

@ -36,15 +36,15 @@ my @diff_exceptions = qw(
tables/accounting/cdr_period_costs/create_options
tables/accounting/cdr/create_options
.+/accounting/cdr_cash_balance_data_[0-9]{6}/.+
.+/accounting/cdr_time_balance_data_[0-9]{6}/.+
.+/accounting/cdr_relation_data_[0-9]{6}/.+
.+/accounting/cdr_tag_data_[0-9]{6}/.+
.+/accounting/cdr_mos_data_[0-9]{6}/.+
.+/accounting/cdr_export_status_data_[0-9]{6}/.+
.+/accounting/cdr_group_[0-9]{6}/.+
.+/accounting/cdr_period_costs_[0-9]{6}/.+
.+/accounting/cdr_[0-9]{6}/.+
.+/accounting/cdr_cash_balance_data_[0-9]{6}.*
.+/accounting/cdr_time_balance_data_[0-9]{6}.*
.+/accounting/cdr_relation_data_[0-9]{6}.*
.+/accounting/cdr_tag_data_[0-9]{6}.*
.+/accounting/cdr_mos_data_[0-9]{6}.*
.+/accounting/cdr_export_status_data_[0-9]{6}.*
.+/accounting/cdr_group_[0-9]{6}.*
.+/accounting/cdr_period_costs_[0-9]{6}.*
.+/accounting/cdr_[0-9]{6}.*
);
my $credentials_file = '/etc/mysql/sipwise_extra.cnf';

Loading…
Cancel
Save