summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2001-06-03 17:07:26 +0300
committerSinisa@sinisa.nasamreza.org <>2001-06-03 17:07:26 +0300
commit338b51b5a7e23983f39c06b4b74523349401245c (patch)
tree117457cc851c63311919cde097c85f86ae4d9995 /sql/item.cc
parent73e6a6905209b92413c43f9da750278e98a6932a (diff)
downloadmariadb-git-338b51b5a7e23983f39c06b4b74523349401245c.tar.gz
These are actually two changesets. One for splitting LEX in two and
the other for multi-table delete
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
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;