bug #1394779, SQL executer tries to find keys from current table

This commit is contained in:
Marc Delisle
2006-01-11 20:16:20 +00:00
parent fb7ba99648
commit 841b3403c7
3 changed files with 5 additions and 2 deletions

View File

@@ -1541,7 +1541,7 @@ if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
// clear $upper_data for next iteration
$upper_data='';
if ($collect_section_before_limit) {
if ($collect_section_before_limit && $arr[$i]['type'] != 'punct_queryend') {
$section_before_limit .= $arr[$i]['data'] . $sep;
} else {
$section_after_limit .= $arr[$i]['data'] . $sep;