summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-08-03 13:39:45 +0200
committerbbaetz%acm.org <>2003-08-03 13:39:45 +0200
commitee7c14dc05644df11362ca5430a4ca9b3fb42761 (patch)
treebe957f1ecf12ef3dd7a46443a4d94f655ac6de3f /checksetup.pl
parent193c5ac6be8e883c57e4caf3c87b181db0351be0 (diff)
downloadbugzilla-ee7c14dc05644df11362ca5430a4ca9b3fb42761.tar.gz
bugzilla-ee7c14dc05644df11362ca5430a4ca9b3fb42761.tar.xz
Bug 212095 - checksetup.pl gets confused by newer DBD::mysql quoting of
table values. r=jouni, a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index d0b1764b4..00605415d 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -1874,7 +1874,8 @@ if(scalar(@isam_tables)) {
# Get a list of the existing tables (if any) in the database
-my @tables = map { $_ =~ s/.*\.//; $_ } $dbh->tables;
+$sth = $dbh->table_info(undef, undef, undef, "TABLE");
+my @tables = @{$dbh->selectcol_arrayref($sth, { Columns => [3] })};
#print 'Tables: ', join " ", @tables, "\n";
# add lines here if you add more --LOCAL-- config vars that end up in the enums: