Remove possible double charset conversion.

This commit is contained in:
Michal Čihař
2004-03-09 14:01:17 +00:00
parent 2ed606d914
commit 8fcbd55910
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-03-09 Michal Cihar <backtowork@cihar.com>
* libraries/dbi/mysql.dbi.lib.php: Remove possible double charset
conversion.
2004-03-05 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.lib.php: bug 909752, floating point digit
* libraries/sqlparser.lib.php: bug 906551, GRANT...TO

View File

@@ -119,7 +119,7 @@ function PMA_DBI_try_query($query, $link = NULL, $options = 0) {
if (PMA_MYSQL_INT_VERSION < 40100) {
$query = PMA_convert_charset($query);
}
return mysql_query(PMA_convert_charset($query), $link);
return mysql_query($query, $link);
}
// The following function is meant for internal use only.