Fix CRC32 function name in tests

This commit is contained in:
Ivan Remen 2019-06-19 11:09:01 +03:00
parent 35ccd128f4
commit 60c85c4f24
3 changed files with 8 additions and 8 deletions

View File

@ -32,7 +32,7 @@
<value>hiveHash</value> <value>hiveHash</value>
<value>xxHash32</value> <value>xxHash32</value>
<value>xxHash64</value> <value>xxHash64</value>
<value>crc32</value> <value>CRC32</value>
</values> </values>
</substitution> </substitution>
<substitution> <substitution>

File diff suppressed because one or more lines are too long

View File

@ -10,11 +10,11 @@ INSERT INTO table1 VALUES('aasq', 'xxz');
INSERT INTO table1 VALUES('zxcqwer', ''); INSERT INTO table1 VALUES('zxcqwer', '');
INSERT INTO table1 VALUES('', ''); INSERT INTO table1 VALUES('', '');
select crc32('string'); select CRC32('string');
select crc32('string'), crc32('test'); select CrC32('string'), crc32('test'); -- We want to test, that function name is case-insensitive
select crc32(str1) from table1 order by crc32(str1); select CRC32(str1) from table1 order by CRC32(str1);
select crc32(str2) from table1 order by crc32(str2); select CRC32(str2) from table1 order by CRC32(str2);
select crc32(str1), crc32(str2) from table1 order by crc32(str1), crc32(str2); select CRC32(str1), CRC32(str2) from table1 order by CRC32(str1), CRC32(str2);
select str1, str2, crc32(str1), crc32(str2) from table1 order by crc32(str1), crc32(str2); select str1, str2, CRC32(str1), CRC32(str2) from table1 order by CRC32(str1), CRC32(str2);
DROP TABLE table1; DROP TABLE table1;