1
0
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)

This commit is contained in:
hf@deer.(none)
2004-02-13 17:20:56 +04:00
parent a052909753
commit 32039398ef

View File

@ -612,8 +612,8 @@ bool Protocol::send_fields(List<Item> *list, uint flag)
}
else
{
client_field->def= strdup_root(field_alloc, tmp.ptr());
client_field->def_length= tmp.length();
client_field->def= strdup_root(field_alloc, res->ptr());
client_field->def_length= res->length();
}
}
else