Changeset: 6b6fbc885da2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6b6fbc885da2
Modified Files:
        sql/server/sql_atom.c
Branch: pp_hashjoin
Log Message:

allow inplace string 2 date conversions


diffs (12 lines):

diff --git a/sql/server/sql_atom.c b/sql/server/sql_atom.c
--- a/sql/server/sql_atom.c
+++ b/sql/server/sql_atom.c
@@ -817,7 +817,7 @@ atom_cast_inplace(allocator *sa, atom *a
                          tp->type->eclass == EC_FLT)) ||
                        (EC_VARCHAR(at->type->eclass) &&
                         (
-                        /*(tp->type->eclass == EC_DATE ||*/
+                        tp->type->eclass == EC_DATE ||
                          EC_TEMP_NOFRAC(tp->type->eclass)) && 
!ATOMextern(tp->type->localtype))) {
                        ValRecord v = { .vtype = tp->type->localtype };
                        if (VARconvert(sa, &v, &a->data, at->scale, tp->scale, 
tp->type->eclass == EC_DEC ? tp->digits : 0) != GDK_SUCCEED) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to