diff options
author | unknown <sergefp@mysql.com> | 2004-12-13 20:25:26 +0300 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-12-13 20:25:26 +0300 |
commit | 06cbb73f26c7eba54ef4a435b27bce5c4d2a6cdf (patch) | |
tree | 826db606528ee60e04fbd3f3b8a85ed4970ff8c0 /sql | |
parent | 75a43405d40baf4578894d4e0141a744f414cabb (diff) | |
download | mariadb-git-06cbb73f26c7eba54ef4a435b27bce5c4d2a6cdf.tar.gz |
Merged fixes for BUG#6976 and BUG#7079
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index 119fad83746..52a644677a6 100644 --- a/sql/item.h +++ b/sql/item.h @@ -922,6 +922,10 @@ public: :Item_ref(item, table_name_par, field_name_par) {} /* Constructor need to process subselect with temporary tables (see Item) */ Item_direct_ref(THD *thd, Item_direct_ref *item) : Item_ref(thd, item) {} + Item_direct_ref(Item **item, const char *table_name_par, + const char *field_name_par, Item *src) + : Item_ref(item, table_name_par, field_name_par, src) {} + double val() { double tmp=(*ref)->val(); |