1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Split error message for crashed table to 3 different error messages.

Fixes for Windows
This commit is contained in:
monty@donna.mysql.com
2000-11-22 03:45:02 +02:00
parent 4f91d5b5fe
commit e049538cb0
49 changed files with 128 additions and 40 deletions

View File

@@ -650,8 +650,8 @@ TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
(Item_result_field***) 0, &tmp_field,0,0);
if (!field ||
!(cr_field=new create_field(field,(item->type() == Item::FIELD_ITEM ?
((Item_field *)item)->field : NULL)
)))
((Item_field *)item)->field :
(Field*) 0))))
DBUG_RETURN(0);
extra_fields->push_back(cr_field);
}