mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
test case for CRC32() SQL function
This commit is contained in:
parent
9c2215e022
commit
e7e313f46f
2 changed files with 11 additions and 0 deletions
|
|
@ -600,3 +600,8 @@ SELECT STDDEV_POP(ROUND(0,@A:=2009)) FROM (SELECT 1 UNION SELECT 2) fake_table;
|
|||
--echo # Test zero
|
||||
select 0=0, 0=-0, 0.0= -0.0, 0.0 = -(0.0), 0.0E1=-0.0E1, 0.0E1=-(0.0E1);
|
||||
|
||||
--echo #
|
||||
--echo # CRC32 tests
|
||||
--echo #
|
||||
|
||||
select CRC32(NULL), CRC32(''), CRC32('MySQL'), CRC32('mysql'), CRC32('01234567'), CRC32('012345678');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue