mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for #2211 (field->def contains invalid values)
libmysqld/lib_sql.cc: not the right variable was used
This commit is contained in:
@ -612,8 +612,8 @@ bool Protocol::send_fields(List<Item> *list, uint flag)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
client_field->def= strdup_root(field_alloc, tmp.ptr());
|
client_field->def= strdup_root(field_alloc, res->ptr());
|
||||||
client_field->def_length= tmp.length();
|
client_field->def_length= res->length();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user