bug #1394479, problem detecting ending semi-colon, generates a SHOW KEYS FROM nothing
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2006-01-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/sqlparser.lib.php: bug #1394479, problem detecting ending
|
||||||
|
semi-colon, generates a SHOW KEYS FROM no table name
|
||||||
|
|
||||||
2006-01-09 Michal Čihař <michal@cihar.com>
|
2006-01-09 Michal Čihař <michal@cihar.com>
|
||||||
* import.php: Work on 10MB chunks if no memory limit is set (bug
|
* import.php: Work on 10MB chunks if no memory limit is set (bug
|
||||||
#1399477).
|
#1399477).
|
||||||
|
@@ -911,7 +911,9 @@ if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
|||||||
|
|
||||||
// TODO: when we find a UNION, should we split
|
// TODO: when we find a UNION, should we split
|
||||||
// in another subresult?
|
// in another subresult?
|
||||||
if ($arr[$i]['type'] == 'punct_queryend') {
|
// Note: do not split if this is a punct_queryend for the
|
||||||
|
// first and only query
|
||||||
|
if ($arr[$i]['type'] == 'punct_queryend' && ($i + 1 != $size)) {
|
||||||
$result[] = $subresult;
|
$result[] = $subresult;
|
||||||
$subresult = $subresult_empty;
|
$subresult = $subresult_empty;
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user