summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2004-12-13 20:10:07 +0300
committerunknown <sergefp@mysql.com>2004-12-13 20:10:07 +0300
commit75a43405d40baf4578894d4e0141a744f414cabb (patch)
treed267c00c924268a47f11688ca46d18ee4ad5a09c /sql/item.cc
parentc9a0e4ad5d59b37cdc3de4931b513f9af2e31541 (diff)
parent6d7fe8520a938d92a6a7b0e569e8f56d926936ac (diff)
downloadmariadb-git-75a43405d40baf4578894d4e0141a744f414cabb.tar.gz
Merged (will need a post-merge fix)
sql/item.h: Auto merged sql/item_cmpfunc.cc: Auto merged
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 9ed8b39dece..ec637eb8bce 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -1488,14 +1488,13 @@ bool Item_field::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
"forward reference in item list");
return -1;
}
-
Item_ref *rf= (place == IN_HAVING ?
new Item_ref(last->ref_pointer_array + counter,
(char *)table_name,
- (char *)field_name) :
+ (char *)field_name, this) :
new Item_direct_ref(last->ref_pointer_array + counter,
(char *)table_name,
- (char *)field_name));
+ (char *)field_name, this));
if (!rf)
return 1;
thd->change_item_tree(ref, rf);