Sha256: 78961fbbfd4009e2e78c82ebf4470177ca90afe48ffeddf75e49ce2f11acd95f

Contents?: true

Size: 160 Bytes

Versions: 2

Compression:

Stored size: 160 Bytes

Contents

/* Fake CRC32 */

CREATE OR REPLACE FUNCTION crc32(text)
RETURNS int AS $$
  SELECT hex_to_int(SUBSTRING(MD5($1) FROM 1 FOR 8))::int
$$ VOLATILE LANGUAGE SQL;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ultrasphinx-1.6.7 lib/ultrasphinx/postgresql/crc32.sql
ultrasphinx-1.7 lib/ultrasphinx/postgresql/crc32.sql