From 4e886689b2095185cd675ec88f4e40f77b6074b1 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 3 Jun 2001 17:07:26 +0300 Subject: These are actually two changesets. One for splitting LEX in two and the other for multi-table delete sql/filesort.cc: Fixed some bugs for Unique class sql/item.cc: Changes caused by splitting lex into two parts, in order to implement UNION's etc sql/item_sum.cc: Changes caused by splitting lex into two parts, in order to implement UNION's etc sql/mysql_priv.h: Changes caused by splitting lex into two parts, in order to implement UNION's etc sql/sql_class.h: Adding multi table delete sql/sql_delete.cc: Added multi-table delete sql/sql_lex.cc: Changes caused by splitting lex into two parts, in order to implement UNION's etc sql/sql_lex.h: Changes caused by splitting lex into two parts, in order to implement UNION's etc sql/sql_parse.cc: Changes caused by splitting lex into two parts, in order to implement UNION's etc, plus added multi-table delete sql/sql_select.cc: Changes caused by splitting lex into two parts, in order to implement UNION's etc sql/sql_update.cc: Changes caused by splitting lex into two parts, in order to implement UNION's etc sql/sql_yacc.yy: Changes caused by splitting lex into two parts, in order to implement UNION's etc, plus added multi-table delete sql/uniques.cc: Fixed some bugs in duplicate stripping BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- sql/item.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/item.cc') diff --git a/sql/item.cc b/sql/item.cc index b268c5eb928..44bbf9a9cbc 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -561,7 +561,7 @@ bool Item_ref::fix_fields(THD *thd,TABLE_LIST *tables) { if (!ref) { - if (!(ref=find_item_in_list(this,thd->lex.item_list))) + if (!(ref=find_item_in_list(this,thd->lex.select->item_list))) return 1; max_length= (*ref)->max_length; maybe_null= (*ref)->maybe_null; -- cgit v1.2.1