Avoid warning if analyzing failed.

This commit is contained in:
Michal Čihař
2005-10-17 12:53:57 +00:00
parent a0e7436d37
commit 3b2485e4f5
2 changed files with 2 additions and 1 deletions

View File

@@ -1189,7 +1189,7 @@ if ($is_minimum_common == FALSE) {
// for each table_ref alias, put the true name of the table
// in the corresponding select expressions
if (isset($current_table_ref) && ($seen_end_of_table_ref || $i == $size-1)) {
if (isset($current_table_ref) && ($seen_end_of_table_ref || $i == $size-1) && $subresult != $subresult_empty) {
for ($tr=0; $tr <= $current_table_ref; $tr++) {
$alias = $subresult['table_ref'][$tr]['table_alias'];
$truename = $subresult['table_ref'][$tr]['table_true_name'];