bug 1108521, mysqli_free_result() expects parameter 1 to be a result
This commit is contained in:
@@ -9,6 +9,8 @@ $Source$
|
||||
* libraries/dbi/mysqli.dbi.lib.php: bug #1111706, call to undefined
|
||||
function PMA_reloadNavigation(). A failed connection was not properly
|
||||
detected
|
||||
* libraries/export/sql.php: bug #1108521, mysqli_free_result() expects
|
||||
parameter 1 to be a result
|
||||
|
||||
2005-01-27 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/fpdf/fpdf.php: bug #1106146, missing header for PDF,
|
||||
|
@@ -57,8 +57,7 @@ function PMA_exportHeader() {
|
||||
global $cfg;
|
||||
|
||||
if (PMA_MYSQL_INT_VERSION >= 40100 && isset($GLOBALS['sql_compat']) && $GLOBALS['sql_compat'] != 'NONE') {
|
||||
$result = PMA_DBI_query('SET @@SQL_MODE="' . $GLOBALS['sql_compat'] . '"');
|
||||
PMA_DBI_free_result($result);
|
||||
PMA_DBI_query('SET SQL_MODE="' . $GLOBALS['sql_compat'] . '"');
|
||||
}
|
||||
|
||||
$head = $GLOBALS['comment_marker'] . 'phpMyAdmin SQL Dump' . $crlf
|
||||
|
Reference in New Issue
Block a user