From: jocuri%softhome.net <> Date: Fri, 3 Sep 2004 17:06:04 +0000 (+0000) Subject: Patch for bug 257419: make checksetup.pl quote database name in 'show table status... X-Git-Tag: bugzilla-2.18rc3~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108cf16127a29cb3c2e44f17a4fa2ec63ac65ad4;p=thirdparty%2Fbugzilla.git Patch for bug 257419: make checksetup.pl quote database name in 'show table status' command; patch by Marc Schumann ; r=kiko, a=myk. --- diff --git a/checksetup.pl b/checksetup.pl index eef73e88a6..434c847dfc 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -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) {