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/sql_type.cc | |
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/sql_type.cc')
-rw-r--r-- | sql/sql_type.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_type.cc b/sql/sql_type.cc index 7c60bf09ae9..760dc5ed68f 100644 --- a/sql/sql_type.cc +++ b/sql/sql_type.cc @@ -7059,7 +7059,7 @@ Item_temporal_precision(THD *thd, Item *item, bool is_time) const StringBuffer<64> buf; String *tmp; MYSQL_TIME_STATUS status; - DBUG_ASSERT(item->is_fixed()); + DBUG_ASSERT(item->fixed()); // Nanosecond rounding is not needed here, for performance purposes if ((tmp= item->val_str(&buf)) && (is_time ? |