]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 212095 - checksetup.pl gets confused by newer DBD::mysql quoting of
authorbbaetz%acm.org <>
Sun, 3 Aug 2003 11:39:45 +0000 (11:39 +0000)
committerbbaetz%acm.org <>
Sun, 3 Aug 2003 11:39:45 +0000 (11:39 +0000)
table values.
r=jouni, a=justdave

checksetup.pl

index d0b1764b4c0fd6dd70cf6c3d1158a8829831fcb4..00605415dbeb7db972c23e7e2cea36195d23ba6b 100755 (executable)
@@ -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: