Update 01032_cityHash64_for_UUID.sql

This commit is contained in:
Mikhail Korotov 2019-11-13 18:17:42 +03:00 committed by GitHub
parent 2e0af1a8a6
commit 96c0392b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,3 +3,4 @@ CREATE TABLE t_uuid (x UUID) ENGINE=TinyLog;
INSERT INTO t_uuid SELECT generateUUIDv4();
INSERT INTO t_uuid SELECT generateUUIDv4();
SELECT count() FROM t_uuid WHERE cityHash64(x) = cityHash64(toString(x));
DROP TABLE IF EXISTS t_uuid;