]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 257419: make checksetup.pl quote database name in 'show table status...
authorjocuri%softhome.net <>
Fri, 3 Sep 2004 17:06:04 +0000 (17:06 +0000)
committerjocuri%softhome.net <>
Fri, 3 Sep 2004 17:06:04 +0000 (17:06 +0000)
checksetup.pl

index eef73e88a6ee15b199c7542f775ce32de424d05d..434c847dfc151ffd310d851a4a41fd94620c89ee 100755 (executable)
@@ -1987,7 +1987,7 @@ $table{series_categories} =
 # to type MyISAM if so.  ISAM tables are deprecated in MySQL 3.23,
 # which Bugzilla now requires, and they don't support more than 16 
 # indexes per table, which Bugzilla needs.
-my $sth = $dbh->prepare("SHOW TABLE STATUS FROM $::db_name");
+my $sth = $dbh->prepare("SHOW TABLE STATUS FROM `$::db_name`");
 $sth->execute;
 my @isam_tables = ();
 while (my ($name, $type) = $sth->fetchrow_array) {