1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge remote-tracking branch 'origin/10.4' into 10.5

This commit is contained in:
Monty
2020-07-03 23:31:12 +03:00
40 changed files with 182 additions and 173 deletions

View File

@ -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>