diff options
author | Varun Gupta <varun.gupta@mariadb.com> | 2018-08-18 01:14:49 +0530 |
---|---|---|
committer | Varun Gupta <varun.gupta@mariadb.com> | 2018-08-18 01:16:31 +0530 |
commit | bf1c53e9be84437ada32393bb7b4a8ff06dbf369 (patch) | |
tree | 325cca23e6bf7b5b4b0f9d050ab46f63eefc466d /client/mysqlbinlog.cc | |
parent | 3faed09d6d7cae54d01e7a5f988c057417f9df65 (diff) | |
download | mariadb-git-bf1c53e9be84437ada32393bb7b4a8ff06dbf369.tar.gz |
Fixed ASAN failure for the test main.func_misc.
For Item name_const , we should never do typecast it to Item_field because we
always expect it to be a constant value.
So instead of checking the type() its better to introduce a function in the
Item class get_item_field, which would return the item_field object for the item
which have type of FIELD_ITEM
Diffstat (limited to 'client/mysqlbinlog.cc')
0 files changed, 0 insertions, 0 deletions