Commit 2632dbf6 authored by unknown's avatar unknown

Fix compiler warning about wrong integer size (probably harmless)


sql/sql_select.cc:
  Fix compiler warning (probably harmless, wrong integer size)
parent a9383147
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment