1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix compiler warning about wrong integer size (probably harmless)

This commit is contained in:
tsmith@ramayana.hindu.god
2007-12-06 16:11:26 -07:00
parent f1323ad628
commit b922c9646c

View File

@ -8991,7 +8991,7 @@ static Field *create_tmp_field_from_item(THD *thd, Item *item, TABLE *table,
{
uint8 dec= item->decimals;
uint8 intg= ((Item_decimal *) item)->decimal_precision() - dec;
uint8 len= item->max_length;
uint32 len= item->max_length;
/*
Trying to put too many digits overall in a DECIMAL(prec,dec)