From a099682f0e502e5d04826c49a7d431fb9c3b6938 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Fri, 4 Sep 2015 12:41:17 -0700 Subject: [PATCH] more extensive upsert tests --- object_store.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/object_store.cpp b/object_store.cpp index 3d1ec9c3..17ccd41c 100644 --- a/object_store.cpp +++ b/object_store.cpp @@ -275,6 +275,7 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update case PropertyTypeObject: case PropertyTypeArray: { TableRef link_table = ObjectStore::table_for_object_type(group, target_prop.object_type); + REALM_ASSERT(link_table); target_prop.table_column = table->add_column_link(DataType(target_prop.type), target_prop.name, *link_table); break; }