]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 212095: DBD::mysql versions after 2.1026 return the table list quoted, which...
authorjustdave%syndicomm.com <>
Sat, 9 Aug 2003 06:06:13 +0000 (06:06 +0000)
committerjustdave%syndicomm.com <>
Sat, 9 Aug 2003 06:06:13 +0000 (06:06 +0000)
r= jouni, a= justdave

checksetup.pl

index b23ca76a6bb813bb73d0bf7c17cdbc8629560e0f..7349eabbfccaefc2a7871095b34e7a46e5b071dd 100755 (executable)
@@ -1610,7 +1610,8 @@ $table{tokens} =
 ###########################################################################
 
 # 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: