Changeset: a0249aa59e13 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a0249aa59e13
Modified Files:
        sql/common/sql_types.c
Branch: default
Log Message:

make sure we consitently use the mkey hash function.
(todo refactor these hash functions)


diffs (12 lines):

diff --git a/sql/common/sql_types.c b/sql/common/sql_types.c
--- a/sql/common/sql_types.c
+++ b/sql/common/sql_types.c
@@ -1175,7 +1175,7 @@ sqltypeinit( sql_allocator *sa)
        sql_create_func(sa, "not_uniques", "sql", "not_uniques", OID, NULL, 
OID, SCALE_NONE);
 
        /* functions needed for all types */
-       sql_create_func(sa, "hash", "calc", "hash", ANY, NULL, WRD, SCALE_FIX);
+       sql_create_func(sa, "hash", "mkey", "hash", ANY, NULL, WRD, SCALE_FIX);
        sql_create_func3(sa, "rotate_xor_hash", "calc", "rotate_xor_hash", WRD, 
INT, ANY, WRD, SCALE_NONE);
        sql_create_func(sa, "=", "calc", "=", ANY, ANY, BIT, SCALE_FIX);
        sql_create_func(sa, "<>", "calc", "!=", ANY, ANY, BIT, SCALE_FIX);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to