diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-08-14 10:26:18 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-08-14 13:33:01 +0400 |
commit | e86010f909fb6b8c4ffd9d6df92991ac079e67e7 (patch) | |
tree | e30f0335d75b480ffe1f546c4b0f86b530c4558c /sql/item_cmpfunc.h | |
parent | fa21952e25e3defef172e1f2074e3e2d5b091f5c (diff) | |
download | mariadb-git-e86010f909fb6b8c4ffd9d6df92991ac079e67e7.tar.gz |
MDEV-20342 Turn Field::flags from a member to a method
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 34c957cba19..a9d421e4d7d 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -2563,7 +2563,7 @@ public: { Field *field=((Item_field*) args[0]->real_item())->field; - if ((field->flags & NOT_NULL_FLAG) && + if ((field->flags() & NOT_NULL_FLAG) && field->type_handler()->cond_notnull_field_isnull_to_field_eq_zero()) return true; } |