1576
1576
if (item->unsigned_flag)
1578
new_field= new field::Size(item->max_length, maybe_null,
1579
item->name, item->unsigned_flag);
1578
new_field= new field::Size(item->max_length, maybe_null, item->name, item->unsigned_flag);
1581
else if (item->max_length >= (MY_INT32_NUM_DECIMAL_DIGITS - 1))
1580
else if (item->max_length >= MY_INT32_NUM_DECIMAL_DIGITS - 1)
1583
new_field= new field::Int64(item->max_length, maybe_null,
1584
item->name, item->unsigned_flag);
1582
new_field= new field::Int64(item->max_length, maybe_null, item->name, item->unsigned_flag);
1588
new_field= new field::Int32(item->max_length, maybe_null,
1589
item->name, item->unsigned_flag);
1586
new_field= new field::Int32(item->max_length, maybe_null, item->name, item->unsigned_flag);