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/event_parse_data.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/event_parse_data.cc')
-rw-r--r-- | sql/event_parse_data.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/event_parse_data.cc b/sql/event_parse_data.cc index d2a168e538e..80d2f9c9fe4 100644 --- a/sql/event_parse_data.cc +++ b/sql/event_parse_data.cc @@ -480,7 +480,7 @@ Event_parse_data::report_bad_value(const char *item_name, Item *bad_item) { char buff[120]; String str(buff,(uint32) sizeof(buff), system_charset_info); - String *str2= bad_item->is_fixed() ? bad_item->val_str(&str) : NULL; + String *str2= bad_item->fixed() ? bad_item->val_str(&str) : NULL; my_error(ER_WRONG_VALUE, MYF(0), item_name, str2? str2->c_ptr_safe():"NULL"); } |