Changeset: 27d9a8384784 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=27d9a8384784
Modified Files:
        sql/backends/monet5/sql_round_impl.h
Branch: Jan2014
Log Message:

allow decimals without '.'


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_round_impl.h 
b/sql/backends/monet5/sql_round_impl.h
--- a/sql/backends/monet5/sql_round_impl.h
+++ b/sql/backends/monet5/sql_round_impl.h
@@ -300,7 +300,7 @@ str_2dec(TYPE *res, str *val, int *d, in
                        *res = NIL(TYPE);
                        return MAL_SUCCEED;
                } else {
-                       throw(SQL, STRING(TYPE), "\"%s\" is no decimal value 
(doesn't contain a '.')", *val);
+                       scale = 0;
                }
        }
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to