Changeset: 6dad8fabafa9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6dad8fabafa9
Modified Files:
        sql/backends/monet5/sql.c
Branch: Jan2022
Log Message:

Missing check


diffs (13 lines):

diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -669,6 +669,9 @@ append_to_table_from_emit(Client cntxt, 
                }
        }
        bat_destroy(pos);
+       if (BATcount(columns[0].b) > 0 && !isNew(t) && isGlobal(t) && 
!isGlobalTemp(t) &&
+               sql_trans_add_dependency_change(sql->session->tr, t->base.id, 
dml) != LOG_OK)
+               throw(SQL, "sql.catalog", SQLSTATE(HY013) MAL_MALLOC_FAIL);
        return msg;
 }
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to