diff options
author | jocuri%softhome.net <> | 2004-09-03 19:03:37 +0200 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-09-03 19:03:37 +0200 |
commit | b23a7f3988c8c2c06b739cf8b59ab43e7797bcc0 (patch) | |
tree | 30a8f9e79c083f591d790581c0081b697ea8c2bd | |
parent | ec0e8fafb145d529948cefd894c83aae28c1f6d8 (diff) | |
download | bugzilla-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.
-rwxr-xr-x | checksetup.pl | 2 |
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) { |