From 7d71d5807623d0ce19eba238510e7bcae6ec4b3d Mon Sep 17 00:00:00 2001 From: "evgen@moonbone.local" <> Date: Sun, 15 Apr 2007 09:54:16 +0400 Subject: [PATCH] item.cc: Fix warning after fix for bug#27321. --- sql/item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/item.cc b/sql/item.cc index 7ae5fef519c..ed5bd67d096 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -3446,7 +3446,7 @@ Item_field::fix_outer_field(THD *thd, Field **from_field, Item **reference) Item **ref= (Item **) not_found_item; SELECT_LEX *current_sel= (SELECT_LEX *) thd->lex->current_select; Name_resolution_context *outer_context= 0; - SELECT_LEX *select; + SELECT_LEX *select= 0; /* Currently derived tables cannot be correlated */ if (current_sel->master_unit()->first_select()->linkage != DERIVED_TABLE_TYPE)