summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2007-03-19 23:59:53 +0300
committerunknown <kostja@bodhi.local>2007-03-19 23:59:53 +0300
commit14ab9bef52258465f13e8838d8f55ea62c0905e7 (patch)
tree4ce7f23faf1f92e854083442f093270a2cd2f098 /sql/sql_table.cc
parent6d93f15039d551f291232c1b60527b00cd9c6bc9 (diff)
parentcfcd27b3db1459c11e89ca21510438ac9ee55747 (diff)
downloadmariadb-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/sql_table.cc')
-rw-r--r--sql/sql_table.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 14b9e0aa25d..c75aff7fab6 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -4147,7 +4147,8 @@ bool mysql_checksum_table(THD *thd, TABLE_LIST *tables, HA_CHECK_OPT *check_opt)
field_list.push_back(item = new Item_empty_string("Table", NAME_LEN*2));
item->maybe_null= 1;
- field_list.push_back(item=new Item_int("Checksum",(longlong) 1,21));
+ field_list.push_back(item= new Item_int("Checksum", (longlong) 1,
+ MY_INT64_NUM_DECIMAL_DIGITS));
item->maybe_null= 1;
if (protocol->send_fields(&field_list,
Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF))