Use PMA_backquote().

This commit is contained in:
Alexander M. Turek
2004-02-02 09:04:30 +00:00
parent a566dac9d0
commit 63a27d0992
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-02-02 Alexander M. Turek <supposedformerinfatuationjunkie@derrabus.de>
* libraries/mysql_charsets.lib.php: Use PMA_backquote().
2004-01-31 Michal Cihar <whyisitsocold@cihar.com>
* lang/czech: Update.

View File

@@ -231,7 +231,7 @@ if (PMA_MYSQL_INT_VERSION >= 40100){
// MySQL 4.1.0 does not support seperate charset settings
// for databases.
$res = PMA_DBI_query('SHOW CREATE DATABASE `' . $db . '`;');
$res = PMA_DBI_query('SHOW CREATE DATABASE ' . PMA_backquote($db) . ';');
$row = PMA_DBI_fetch_row($res);
PMA_DBI_free_result($res);
PMA_DBI_free_result($res);