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)

libmysqld/lib_sql.cc:
  not the right variable was used
This commit is contained in:
unknown
2004-02-13 17:20:56 +04:00
parent f03296b6dc
commit bb625fbc6d

View File

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