Do not show error on empty query.

This commit is contained in:
Michal Čihař
2005-10-08 10:53:55 +00:00
parent 9207ca3885
commit e3567e49f3
2 changed files with 2 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ $Source$
query splitting done im read_dump.
* libraries/import/sql.php: Fix import of queries containing `, fix import
of queries not terminated by ;.
* libraries/sqlparser.lib.php: Do not show error on empty query.
2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a

View File

@@ -693,6 +693,7 @@ if ($is_minimum_common == FALSE) {
*/
function PMA_SQP_analyze($arr)
{
if ($arr == array()) return array();
$result = array();
$size = $arr['len'];
$subresult = array(