]> 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:03:37 +0000 (17:03 +0000)
committerjocuri%softhome.net <>
Fri, 3 Sep 2004 17:03:37 +0000 (17:03 +0000)
checksetup.pl

index e3b8d071d9896d2a3b5c7782455300db7e5e800d..33ad92539bc298b95921a81094cbd912f9ba6f84 100755 (executable)
@@ -2037,7 +2037,7 @@ $table{whine_events} =
 # 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) {