Changeset: 57e0605af576 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=57e0605af576
Modified Files:
        sql/storage/sql_catalog.c
Branch: Jun2020
Log Message:

first check if data exists


diffs (12 lines):

diff --git a/sql/storage/sql_catalog.c b/sql/storage/sql_catalog.c
--- a/sql/storage/sql_catalog.c
+++ b/sql/storage/sql_catalog.c
@@ -119,7 +119,7 @@ cs_find_id(changeset * cs, sqlid id)
                        sql_base *b = n->data;
 
                        /* check if names match */
-                       if (b->id == id) {
+                       if (b && b->id == id) {
                                return n;
                        }
                }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to