summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-09-03 19:03:37 +0200
committerjocuri%softhome.net <>2004-09-03 19:03:37 +0200
commitb23a7f3988c8c2c06b739cf8b59ab43e7797bcc0 (patch)
tree30a8f9e79c083f591d790581c0081b697ea8c2bd /checksetup.pl
parentec0e8fafb145d529948cefd894c83aae28c1f6d8 (diff)
downloadbugzilla-b23a7f3988c8c2c06b739cf8b59ab43e7797bcc0.tar.gz
bugzilla-b23a7f3988c8c2c06b739cf8b59ab43e7797bcc0.tar.xz
Patch for bug 257419: make checksetup.pl quote database name in 'show table status' command; patch by Marc Schumann <wurblzap@gmail.com>; r=kiko, a=myk.
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index e3b8d071d..33ad92539 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -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) {