Commit bb625fbc authored by unknown's avatar unknown

Fix for #2211 (field->def contains invalid values)


libmysqld/lib_sql.cc:
  not the right variable was used
parent f03296b6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment