Commit 9acca922 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 1272883 - [Oracle] Exclude APEX tables from $dbh->bz_table_list_real()

r=dkl
parent 5d5c1cfd
...@@ -511,7 +511,8 @@ sub bz_table_list_real { ...@@ -511,7 +511,8 @@ sub bz_table_list_real {
my ($self) = @_; my ($self) = @_;
my $tables = $self->selectcol_arrayref( my $tables = $self->selectcol_arrayref(
"SELECT LOWER(TABLE_NAME) FROM USER_TABLES WHERE "SELECT LOWER(TABLE_NAME) FROM USER_TABLES WHERE
TABLE_NAME NOT LIKE ? ORDER BY TABLE_NAME", undef, 'DR$%'); TABLE_NAME NOT LIKE ? AND TABLE_NAME NOT LIKE ?
ORDER BY TABLE_NAME", undef, 'DR$%', 'APEX$%');
return @$tables; return @$tables;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment