Changeset: 7b03754c6147 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7b03754c6147
Modified Files:
        sql/storage/store.c
Branch: Mar2018
Log Message:

Forgot check


diffs (16 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -5177,8 +5177,10 @@ sql_trans_drop_key(sql_trans *tr, sql_sc
 
                if (! tr->dropped) {
                        tr->dropped = list_create((fdestroy) GDKfree);
-                       _DELETE(local_id);
-                       return -1;
+                       if(!tr->dropped) {
+                               _DELETE(local_id);
+                               return -1;
+                       }
                }
                *local_id = k->base.id;
                list_append(tr->dropped, local_id);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to