Changeset: f22f3b4d01b5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f22f3b4d01b5
Modified Files:
        monetdb5/modules/mal/tablet.c
Branch: Feb2013
Log Message:

tablet.c, SQLinsert_val(): do not report parsing error is there was none;
rather report the actual error.


diffs (14 lines):

diff --git a/monetdb5/modules/mal/tablet.c b/monetdb5/modules/mal/tablet.c
--- a/monetdb5/modules/mal/tablet.c
+++ b/monetdb5/modules/mal/tablet.c
@@ -1064,8 +1064,8 @@ SQLinsert_val(Column *fmt, char *s, char
   bunins_failed:
        if (*err == NULL) {
                snprintf(buf, BUFSIZ,
-                                "parsing error from line " BUNFMT " field %d 
not inserted\n",
-                                BATcount(fmt->c[0]) + 1, col);
+                                "value from line " BUNFMT " field %d not 
inserted: %s\n",
+                                BATcount(fmt->c[0]) + 1, col, GDKerrbuf);
                *err = GDKstrdup(buf);
        }
        return -1;
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to