diff --git a/ChangeLog b/ChangeLog index e6726012c..69aa09442 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-06-11 Marc Delisle + * tbl_properties_export.php: bug #1169791, exporting results from queries + with limit keyword + 2005-06-08 Marc Delisle * libraries/common.lib.php: bug #1216901, missing backquotes on the Browse feature in case of duplicate entry diff --git a/tbl_properties_export.php b/tbl_properties_export.php index b6f902c09..b3505d958 100644 --- a/tbl_properties_export.php +++ b/tbl_properties_export.php @@ -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 = '';