~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/crc32.result

  • Committer: Brian Aker
  • Date: 2009-07-11 19:23:04 UTC
  • mfrom: (1089.1.14 merge)
  • Revision ID: brian@gaz-20090711192304-ootijyl5yf9jq9kd
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SELECT CRC32("I love testing");
 
2
CRC32("I love testing")
 
3
34910190
 
4
SELECT CRC32("I love testing");
 
5
CRC32("I love testing")
 
6
34910190
 
7
DROP TABLE IF EXISTS t1;
 
8
CREATE TABLE t1
 
9
(
 
10
some_text VARCHAR(100) NOT NULL
 
11
);
 
12
INSERT INTO t1 VALUES ("I love testing");
 
13
SELECT CRC32("I love testing") = CRC32(some_text) FROM t1;
 
14
CRC32("I love testing") = CRC32(some_text)
 
15
1
 
16
SELECT CRC32();
 
17
ERROR 42000: Incorrect parameters in the call to native function 'crc32'
 
18
SELECT CRC32('foo','bar','zoo');
 
19
ERROR 42000: Incorrect parameters in the call to native function 'crc32'
 
20
SELECT CRC32('');
 
21
CRC32('')
 
22
0
 
23
SELECT CRC32(100);
 
24
CRC32(100)
 
25
595022058
 
26
SELECT CRC32(4294967295);
 
27
CRC32(4294967295)
 
28
1540081739
 
29
SELECT CRC32('a');
 
30
CRC32('a')
 
31
3904355907
 
32
SELECT CRC32('taohuoahusoahusoa haneo uhnteoahu ntoahu saonhu aoeuoa hun');
 
33
CRC32('taohuoahusoahusoa haneo uhnteoahu ntoahu saonhu aoeuoa hun')
 
34
734998015
 
35
DROP TABLE t1;