summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_math.result
diff options
context:
space:
mode:
authorDaniel Black <daniel.black@au.ibm.com>2017-09-04 15:09:53 +1000
committerDaniel Black <daniel@linux.ibm.com>2018-05-07 09:25:30 +1000
commit891f2021933df121361e30b9d86087e776703c99 (patch)
tree8702ebb4f7dea082b141a19c8d3c59104b4ea638 /mysql-test/main/func_math.result
parenta22a339f8e044a1e8df011beb0b4c8f43792ac96 (diff)
downloadmariadb-git-891f2021933df121361e30b9d86087e776703c99.tar.gz
tests: extend func_math crc32 to a larger size to hit crc32-vpmsum accelerated functions
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
Diffstat (limited to 'mysql-test/main/func_math.result')
-rw-r--r--mysql-test/main/func_math.result6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/main/func_math.result b/mysql-test/main/func_math.result
index 2c88bab8a48..0f856fde255 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('0123456789', 200));
+CRC32(NULL) CRC32('') CRC32('MySQL') CRC32('mysql') CRC32('01234567') CRC32('012345678') CRC32(REPEAT('0123456789', 200))
+NULL 0 3259397556 2501908538 763378421 939184570 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