summaryrefslogtreecommitdiff
path: root/mysql-test/main
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-05-09 16:12:08 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-05-09 16:12:08 +0300
commit9be99dac90147cfb3477c07b75328eb0d7d636e7 (patch)
tree3b7c53af1745c5bc8d3659483282854cb22651db /mysql-test/main
parentfc0f5adb7fe181906f48c84f0e6d07e4973740f2 (diff)
parent69ae6499e62af96ddf5f0a3303cae9be273df990 (diff)
downloadmariadb-git-9be99dac90147cfb3477c07b75328eb0d7d636e7.tar.gz
MDEV-15437 POWER8 implementation of CRC-32C in C
Diffstat (limited to 'mysql-test/main')
-rw-r--r--mysql-test/main/func_math.result6
-rw-r--r--mysql-test/main/func_math.test2
2 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/main/func_math.result b/mysql-test/main/func_math.result
index 2c88bab8a48..832ca69d3ea 100644
--- a/mysql-test/main/func_math.result
+++ b/mysql-test/main/func_math.result
@@ -835,9 +835,9 @@ select 0=0, 0=-0, 0.0= -0.0, 0.0 = -(0.0), 0.0E1=-0.0E1, 0.0E1=-(0.0E1);
#
# CRC32 tests
#
-select CRC32(NULL), CRC32(''), CRC32('MySQL'), CRC32('mysql'), CRC32('01234567'), CRC32('012345678');
-CRC32(NULL) CRC32('') CRC32('MySQL') CRC32('mysql') CRC32('01234567') CRC32('012345678')
-NULL 0 3259397556 2501908538 763378421 939184570
+select CRC32(NULL), CRC32(''), CRC32('MySQL'), CRC32('mysql'), CRC32('01234567'), CRC32('012345678'), CRC32(REPEAT('ABCDEfghij', 20)), CRC32(REPEAT('0123456789', 200));
+CRC32(NULL) CRC32('') CRC32('MySQL') CRC32('mysql') CRC32('01234567') CRC32('012345678') CRC32(REPEAT('ABCDEfghij', 20)) CRC32(REPEAT('0123456789', 200))
+NULL 0 3259397556 2501908538 763378421 939184570 3823776386 1428305034
explain extended select (3-2)+1, (3/2)*1, 3-(2+1), 3/(2*1);
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
diff --git a/mysql-test/main/func_math.test b/mysql-test/main/func_math.test
index adea228207a..a2c54b58a67 100644
--- a/mysql-test/main/func_math.test
+++ b/mysql-test/main/func_math.test
@@ -607,7 +607,7 @@ select 0=0, 0=-0, 0.0= -0.0, 0.0 = -(0.0), 0.0E1=-0.0E1, 0.0E1=-(0.0E1);
--echo # CRC32 tests
--echo #
-select CRC32(NULL), CRC32(''), CRC32('MySQL'), CRC32('mysql'), CRC32('01234567'), CRC32('012345678');
+select CRC32(NULL), CRC32(''), CRC32('MySQL'), CRC32('mysql'), CRC32('01234567'), CRC32('012345678'), CRC32(REPEAT('ABCDEfghij', 20)), CRC32(REPEAT('0123456789', 200));
#
# MDEV-13673 Bad result in view