Update of /cvsroot/monetdb/sql/src/common
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11808/src/common
Modified Files:
sql_types.mx
Log Message:
fixes use of txtsim functions
added more optimized versions of cast of mtime types (from string)
added more optimized verion of str to string convert
added use (first steps) of rangejoin
approved tests which changed by this (rangejoin addition)
Index: sql_types.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/common/sql_types.mx,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- sql_types.mx 18 Dec 2007 10:49:12 -0000 1.101
+++ sql_types.mx 21 Dec 2007 17:02:24 -0000 1.102
@@ -1527,8 +1527,8 @@
sql_create_func("levenshtein", "txtsim", "levenshtein", *t, *t,
INT, SCALE_FIX);
{ sql_subtype sres;
- sql_init_subtype(&sres, *t, 0, 0);
- sql_create_func_("levenshtein", "calc", "levenshtein",
+ sql_init_subtype(&sres, INT, 0, 0);
+ sql_create_func_("levenshtein", "txtsim", "levenshtein",
list_append(list_append (list_append
(list_append(list_append(list_create((fdestroy) &arg_destroy), create_arg(NULL,
sql_create_subtype(*t, 0, 0))), create_arg(NULL, sql_create_subtype(*t, 0,
0))), create_arg(NULL, sql_create_subtype(INT, 0, 0))), create_arg(NULL,
sql_create_subtype(INT, 0, 0))), create_arg(NULL, sql_create_subtype(INT, 0,
0))), &sres, FALSE, FALSE);
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins