From: bbaetz%acm.org <> Date: Sun, 3 Aug 2003 11:39:45 +0000 (+0000) Subject: Bug 212095 - checksetup.pl gets confused by newer DBD::mysql quoting of X-Git-Tag: bugzilla-2.17.5~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee7c14dc05644df11362ca5430a4ca9b3fb42761;p=thirdparty%2Fbugzilla.git Bug 212095 - checksetup.pl gets confused by newer DBD::mysql quoting of table values. r=jouni, a=justdave --- diff --git a/checksetup.pl b/checksetup.pl index d0b1764b4c..00605415db 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: