mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge mysql.com:/home/hf/work/27921/my51-27921
into mysql.com:/home/hf/work/27957/my51-27957 mysql-test/r/cast.result: Auto merged sql/item_create.cc: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/my_decimal.h: Auto merged sql/sql_yacc.yy: Auto merged
This commit is contained in:
commit
3f28924e03
8 changed files with 64 additions and 22 deletions
|
|
@ -333,8 +333,8 @@ class Item_decimal_typecast :public Item_func
|
|||
public:
|
||||
Item_decimal_typecast(Item *a, int len, int dec) :Item_func(a)
|
||||
{
|
||||
max_length= len + 2;
|
||||
decimals= dec;
|
||||
max_length= my_decimal_precision_to_length(len, dec, unsigned_flag);
|
||||
}
|
||||
String *val_str(String *str);
|
||||
double val_real();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue