summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-12-01 13:13:23 +0400
committerAlexander Barkov <bar@mariadb.org>2015-12-01 13:13:23 +0400
commit607ef786fc50b44b8e0cb4af8fdb3c79e4a327bb (patch)
tree72c8d7e9bc632b593e485f853a211cc839446ea7 /sql/item_subselect.h
parente3fed3b9b4f488e9ad1afa57333ae80249e6cb17 (diff)
downloadmariadb-git-607ef786fc50b44b8e0cb4af8fdb3c79e4a327bb.tar.gz
MDEV-9215 Detect cmp_type() and result_type() from field_type()
(A dependency task for MDEV-4912 Add a plugin to field types)
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 670d0a66639..1b450044954 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -378,6 +378,7 @@ public:
void no_rows_in_result();
enum Item_result result_type() const { return INT_RESULT;}
+ enum_field_types field_type() const { return MYSQL_TYPE_LONGLONG; }
longlong val_int();
double val_real();
String *val_str(String*);