|
|
@@ -301,6 +301,11 @@ INSERT INTO string_table VALUES
|
|
|
<sphinxql>select id, string_value from strings where string_value not in ('')</sphinxql>
|
|
|
<sphinxql>select id, to_string(id) as p from strings where p in('1','3')</sphinxql>
|
|
|
|
|
|
+<!-- CRC32 as BIGINT -->
|
|
|
+<sphinxql>select CRC32('4759') AS test_crc FROM strings LIMIT 1</sphinxql>
|
|
|
+<sphinxql>select BIGINT(CRC32('4759')) AS test_crc FROM strings LIMIT 1</sphinxql>
|
|
|
+<sphinxql>select CRC32('4759') AS test_crc, CRC32('4759')=2182940993 AS is_crc FROM strings LIMIT 1</sphinxql>
|
|
|
+
|
|
|
</sphqueries>
|
|
|
|
|
|
</test>
|