From b23a7f3988c8c2c06b739cf8b59ab43e7797bcc0 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Fri, 3 Sep 2004 17:03:37 +0000 Subject: Patch for bug 257419: make checksetup.pl quote database name in 'show table status' command; patch by Marc Schumann ; r=kiko, a=myk. --- checksetup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checksetup.pl') 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) { -- cgit v1.2.3-24-g4f1b