summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-10-05 13:41:16 +0400
committerAlexander Barkov <bar@mariadb.org>2017-10-05 13:41:16 +0400
commit1cfaafafee1d3e25470508c0479210c615fa3f18 (patch)
tree89add928ed09b5dcfe270b3a3662f5e044db0b82 /sql/item.h
parentbcda03b4fa3ce8286a264bf3c9b1996ba7088d4f (diff)
downloadmariadb-git-1cfaafafee1d3e25470508c0479210c615fa3f18.tar.gz
MDEV-13242 Wrong results for queries with row constructors and information_schema
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index c338b14e340..0ca2eaae97c 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -4131,6 +4131,8 @@ public:
bool fix_fields(THD *thd, Item **it);
void cleanup();
+ Item *get_orig_item() const { return orig_item; }
+
/* Methods of getting value which should be cached in the cache */
void save_val(Field *to);
double val_real();