summaryrefslogtreecommitdiff
path: root/mysql-test/t/myisam.test
diff options
context:
space:
mode:
authorDaniel Black <daniel.black@au.ibm.com>2016-03-18 11:50:41 +1100
committerSergei Golubchik <serg@mariadb.org>2016-04-29 18:41:00 +0200
commit51a66299f3f34947baee2cf39fc9c25f01baab19 (patch)
tree6cfbea678689e63c78ed2478267e500e15b8e291 /mysql-test/t/myisam.test
parent8b94aec11af19fc711ed48f13410986814bc51a0 (diff)
downloadmariadb-git-51a66299f3f34947baee2cf39fc9c25f01baab19.tar.gz
CHECKSUM TABLE to calculate in multiple column chunks
Checksum implementations contain optimizations for calculating checksums of larger blocks of memory. This optimization calls my_checksum on a larger block of memory rather than calling on multiple adjacent memory as its going though the table columns for each table row.
Diffstat (limited to 'mysql-test/t/myisam.test')
-rw-r--r--mysql-test/t/myisam.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/myisam.test b/mysql-test/t/myisam.test
index 9ac49a9063d..4db7c279e82 100644
--- a/mysql-test/t/myisam.test
+++ b/mysql-test/t/myisam.test
@@ -552,6 +552,8 @@ insert t2 select * from t1;
checksum table t1, t2, t3 quick;
checksum table t1, t2, t3;
checksum table t1, t2, t3 extended;
+alter table t1 add d int default 30, add e bigint default 300000, add f decimal(30) default 442;
+checksum table t2;
#show table status;
drop table t1,t2;