diff options
author | unknown <kostja@bodhi.local> | 2007-03-19 23:59:53 +0300 |
---|---|---|
committer | unknown <kostja@bodhi.local> | 2007-03-19 23:59:53 +0300 |
commit | 14ab9bef52258465f13e8838d8f55ea62c0905e7 (patch) | |
tree | 4ce7f23faf1f92e854083442f093270a2cd2f098 /sql/item.h | |
parent | 6d93f15039d551f291232c1b60527b00cd9c6bc9 (diff) | |
parent | cfcd27b3db1459c11e89ca21510438ac9ee55747 (diff) | |
download | mariadb-git-14ab9bef52258465f13e8838d8f55ea62c0905e7.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into bodhi.local:/opt/local/work/mysql-5.0-runtime
sql/field.cc:
Auto merged
sql/item.cc:
Auto merged
sql/item.h:
Auto merged
sql/item_func.cc:
Auto merged
sql/sp_head.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
mysql-test/r/sp.result:
SCCS merged
mysql-test/t/sp.test:
SCCS merged
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/item.h b/sql/item.h index c2084fb727c..786d65ff6f4 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1495,11 +1495,14 @@ class Item_int :public Item_num { public: longlong value; - Item_int(int32 i,uint length=11) :value((longlong) i) + Item_int(int32 i,uint length= MY_INT32_NUM_DECIMAL_DIGITS) + :value((longlong) i) { max_length=length; fixed= 1; } - Item_int(longlong i,uint length=21) :value(i) + Item_int(longlong i,uint length= MY_INT64_NUM_DECIMAL_DIGITS) + :value(i) { max_length=length; fixed= 1; } - Item_int(ulonglong i, uint length= 21) :value((longlong)i) + Item_int(ulonglong i, uint length= MY_INT64_NUM_DECIMAL_DIGITS) + :value((longlong)i) { max_length=length; fixed= 1; unsigned_flag= 1; } Item_int(const char *str_arg,longlong i,uint length) :value(i) { max_length=length; name=(char*) str_arg; fixed= 1; } |