diff options
author | Monty <monty@mariadb.org> | 2020-08-14 19:51:10 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-05-19 22:27:28 +0200 |
commit | 7ca4e381f7af59dad07aebc5dc4f467b235ab962 (patch) | |
tree | 3de6d7b45fd61b0cd5da08c4dbb6b0482861aaf5 /sql/item_vers.h | |
parent | 9448548481c590257f1523731fa81327db8db4ae (diff) | |
download | mariadb-git-7ca4e381f7af59dad07aebc5dc4f467b235ab962.tar.gz |
Removed Item::is_fixed() and Item::has_subquery()
One should instead use Item::fixed() and Item::with_subquery()
Removed Item::is_fixed() and has_subquery() and did the following replace:
replace is_fixed() fixed() -- *.*
replace 'has_subquery()' 'with_subquery()' -- *.*
Diffstat (limited to 'sql/item_vers.h')
-rw-r--r-- | sql/item_vers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_vers.h b/sql/item_vers.h index 99cc4e2d024..2981c56aac1 100644 --- a/sql/item_vers.h +++ b/sql/item_vers.h @@ -40,7 +40,7 @@ public: } bool fix_length_and_dec() { - set_maybe_null(0); + flags|= ITEM_FLAG_MAYBE_NULL; null_value= 0; decimals= 0; max_length= 1; |