diff options
author | Monty <monty@mariadb.org> | 2020-07-02 23:50:56 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-07-02 23:50:56 +0300 |
commit | 53ecc354e398ead01b4dbf2d77170dafc29debd2 (patch) | |
tree | 75e4dd943eca85d37401821ae469fdcace0c66f4 /sql/sql_load.cc | |
parent | b6ec1e8bbf0ffca2d715aded694722e0c4b5d484 (diff) | |
download | mariadb-git-53ecc354e398ead01b4dbf2d77170dafc29debd2.tar.gz |
Fixed errors found by MSAN
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r-- | sql/sql_load.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc index d5692196457..09af120e6cf 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -2031,8 +2031,8 @@ int READ_INFO::read_xml(THD *thd) case '=': /* attribute name end - read the value */ //check for tag field and attribute name - if(!memcmp(tag.c_ptr_safe(), STRING_WITH_LEN("field")) && - !memcmp(attribute.c_ptr_safe(), STRING_WITH_LEN("name"))) + if(!strcmp(tag.c_ptr_safe(), "field") && + !strcmp(attribute.c_ptr_safe(), "name")) { /* this is format <field name="xx">xx</field> |