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

Revert an accidental commit to work around MDEV-11601.

This commit is contained in:
Marko Mäkelä
2017-02-09 16:02:21 +02:00
parent 0e6968c244
commit 5ffbd084f5

View File

@ -7609,8 +7609,7 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
case MYSQL_TYPE_BLOB:
if (!(item= new (mem_root)
Item_blob(thd, fields_info->field_name,
std::min(unsigned (strlen(fields_info->field_name)),
fields_info->field_length))))
fields_info->field_length)))
{
DBUG_RETURN(0);
}