Changeset: 2a44aaf9ba3a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2a44aaf9ba3a
Modified Files:
        sql/backends/monet5/sql_wlcr.c
Branch: wlcr
Log Message:

minor


diffs (27 lines):

diff --git a/sql/backends/monet5/sql_wlcr.c b/sql/backends/monet5/sql_wlcr.c
--- a/sql/backends/monet5/sql_wlcr.c
+++ b/sql/backends/monet5/sql_wlcr.c
@@ -472,11 +472,13 @@ CLONEupdate(Client cntxt, MalBlkPtr mb, 
        // get the data into local BAT
 
        tids = COLnew(0, TYPE_oid, 0, TRANSIENT);
+       BAThseqbase(tids,0);
        if( tids == NULL){
                throw(SQL,"CLONEupdate",MAL_MALLOC_FAIL);
        }
        upd = COLnew(0, tpe, 0, TRANSIENT);
-       if( tids == NULL){
+       BAThseqbase(tids,0);
+       if( upd == NULL){
                BBPunfix(((BAT *) tids)->batCacheid);
                throw(SQL,"CLONEupdate",MAL_MALLOC_FAIL);
        }
@@ -499,6 +501,8 @@ CLONEupdate(Client cntxt, MalBlkPtr mb, 
                        BUNappend(upd, (void*) val, FALSE);
                }
                break;
+       default:
+               GDKerror("Missing type in CLONEupdate");
        }
 
     if (cname[0] != '%' && (c = mvc_bind_column(m, t, cname)) != NULL) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to