summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-05-23 15:35:32 +0200
committerSergei Golubchik <serg@mariadb.org>2017-05-24 11:59:05 +0200
commitb430133bb9549681147f806ba3048c382837a595 (patch)
treecf5a823e0c4b0c53c697dbc0bcb58e6907af1634 /sql/item_func.h
parentfc89f5fd40d7be54f1d4f7017a8f46f3be9fa902 (diff)
downloadmariadb-git-b430133bb9549681147f806ba3048c382837a595.tar.gz
MDEV-12844 numerous issues in MASTER_GTID_WAIT()
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 4d58e974a75..f44c5d14cda 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1669,7 +1669,7 @@ public:
Item_master_gtid_wait(THD *thd, Item *a, Item *b): Item_int_func(thd, a, b) {}
longlong val_int();
const char *func_name() const { return "master_gtid_wait"; }
- void fix_length_and_dec() { max_length=10+1+10+1+20+1; maybe_null=0;}
+ void fix_length_and_dec() { max_length=2; }
bool check_vcol_func_processor(uchar *int_arg)
{
return trace_unsupported_by_check_vcol_func_processor(func_name());