diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php index 991dbe7f1..d7d4d6cd2 100644 --- a/libraries/sqlparser.lib.php +++ b/libraries/sqlparser.lib.php @@ -1449,6 +1449,7 @@ if (! defined('PMA_MINIMUM_COMMON')) { $in_group_concat = FALSE; $first_reserved_word = ''; $current_identifier = ''; + $unsorted_query = $arr['raw']; // in case there is no ORDER BY for ($i = 0; $i < $size; $i++) { //DEBUG echo "Loop2 " . $arr[$i]['data'] . " (" . $arr[$i]['type'] . ")
";