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

SQL: fractions in I_S TIMESTAMP fields

This commit is contained in:
Aleksey Midenkov
2016-09-23 16:01:14 +00:00
parent 9186cae449
commit 87507451e7
2 changed files with 4 additions and 3 deletions

View File

@ -7730,7 +7730,8 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
if (!(item=new (mem_root)
Item_return_date_time(thd, fields_info->field_name,
strlen(fields_info->field_name),
fields_info->field_type)))
fields_info->field_type,
fields_info->field_length)))
DBUG_RETURN(0);
item->decimals= fields_info->field_length;
break;