Changeset: f5696deb4a89 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f5696deb4a89
Modified Files:
        tools/monetdbe/monetdbe.c
Branch: Jul2021
Log Message:

One more validation. At the moment the number of values must match between all 
columns


diffs (13 lines):

diff --git a/tools/monetdbe/monetdbe.c b/tools/monetdbe/monetdbe.c
--- a/tools/monetdbe/monetdbe.c
+++ b/tools/monetdbe/monetdbe.c
@@ -2150,6 +2150,9 @@ remote_cleanup:
                if (mtype < 0) {
                        mdbe->msg = createException(SQL, 
"monetdbe.monetdbe_append", "Cannot find type for column %zu", i);
                        goto cleanup;
+               } else if (input[i]->count != cnt) {
+                       mdbe->msg = createException(SQL, 
"monetdbe.monetdbe_append", "Number of values don't match between columns");
+                       goto cleanup;
                }
                if (mtype >= TYPE_bit && mtype <=
 #ifdef HAVE_HGE
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to