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
mr12.1.1
Mykola Malkov 3 years ago
parent d0d8c1eb10
commit a8e98fc1fd

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