diff options
author | Monty <monty@mariadb.org> | 2020-07-03 23:31:12 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-07-03 23:31:12 +0300 |
commit | 0fd89a1a89da73cec8e87e1f007637eaec51dcc0 (patch) | |
tree | 2198830733091087ae4d342d56c93540698ec325 /sql/sql_load.cc | |
parent | 70684afef2ce6d797f78db192c4472260cd22660 (diff) | |
parent | e9f06b19e09319d11c346943871254aaf755af24 (diff) | |
download | mariadb-git-0fd89a1a89da73cec8e87e1f007637eaec51dcc0.tar.gz |
Merge remote-tracking branch 'origin/10.4' into 10.5
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 c3e301cd39d..2869011e313 100644 --- a/sql/sql_load.cc +++ b/sql/sql_load.cc @@ -2029,8 +2029,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> |