bug #1169791, exporting results from queries with limit keyword
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-06-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_properties_export.php: bug #1169791, exporting results from queries
|
||||
with limit keyword
|
||||
|
||||
2005-06-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/common.lib.php: bug #1216901, missing backquotes on the Browse
|
||||
feature in case of duplicate entry
|
||||
|
@@ -70,7 +70,7 @@ if (isset($sql_query)) {
|
||||
$inside_bracket = FALSE;
|
||||
continue;
|
||||
}
|
||||
if (!$inside_bracket && $parsed_sql[$i]['type'] == 'alpha_reservedWord' && $parsed_sql[$i]['data'] == 'LIMIT') {
|
||||
if (!$inside_bracket && $parsed_sql[$i]['type'] == 'alpha_reservedWord' && strtoupper($parsed_sql[$i]['data']) == 'LIMIT') {
|
||||
// We found LIMIT to remove
|
||||
|
||||
$sql_query = '';
|
||||
|
Reference in New Issue
Block a user