summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-01-03 13:44:16 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-01-03 13:44:16 +0100
commit7753a290645ca4af8b11f2fff1f47c3a64d45732 (patch)
treee421eaafa2bd26bfe8ba21fb76a13b017348d2cd /sql/item.h
parent02e30069573b09f5d26b6c357cd8aee3e876385a (diff)
parentb35290e19bda02257e4cf6c6acc6133b4e3f2372 (diff)
downloadmariadb-git-7753a290645ca4af8b11f2fff1f47c3a64d45732.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 694672deabc..d28371be8f5 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -5392,6 +5392,15 @@ public:
item_equal= NULL;
Item_direct_ref::cleanup();
}
+ /*
+ TODO move these val_*_result function to Item_dierct_ref (maybe)
+ */
+ double val_result();
+ longlong val_int_result();
+ String *str_result(String* tmp);
+ my_decimal *val_decimal_result(my_decimal *val);
+ bool val_bool_result();
+
Item *get_copy(THD *thd)
{ return get_item_copy<Item_direct_view_ref>(thd, this); }
};