Invalid SQL on empty table export (bug #939918).
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2004-04-22 Michal Cihar <michal@cihar.com>
|
||||||
|
* libraries/export/sql.php: Invalid SQL on empty table export (bug
|
||||||
|
#939918).
|
||||||
|
|
||||||
2004-04-21 Marc Delisle <lem9@users.sourceforge.net>
|
2004-04-21 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
### 2.6.0-alpha1 released
|
### 2.6.0-alpha1 released
|
||||||
* (after the release) user_password.php: undefined offset in blowfish.php
|
* (after the release) user_password.php: undefined offset in blowfish.php
|
||||||
|
@@ -567,7 +567,9 @@ function PMA_exportData($db, $table, $crlf, $error_url, $sql_query)
|
|||||||
if (!PMA_exportOutputHandler(($current_row == 1 ? '' : $separator . $crlf) . $insert_line)) return FALSE;
|
if (!PMA_exportOutputHandler(($current_row == 1 ? '' : $separator . $crlf) . $insert_line)) return FALSE;
|
||||||
|
|
||||||
} // end while
|
} // end while
|
||||||
if (!PMA_exportOutputHandler(';' . $crlf)) return FALSE;
|
if ($current_row > 0) {
|
||||||
|
if (!PMA_exportOutputHandler(';' . $crlf)) return FALSE;
|
||||||
|
}
|
||||||
} // end if ($result != FALSE)
|
} // end if ($result != FALSE)
|
||||||
PMA_DBI_free_result($result);
|
PMA_DBI_free_result($result);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user