From b922c9646cbae90ff4bbe88e7c5b3d5e8be64e51 Mon Sep 17 00:00:00 2001 From: "tsmith@ramayana.hindu.god" <> Date: Thu, 6 Dec 2007 16:11:26 -0700 Subject: [PATCH] Fix compiler warning about wrong integer size (probably harmless) --- sql/sql_select.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 2ca4b73a115..5699f1d1868 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -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)