From d7fd525dc2b3652a75752b67744d9fc602030d23 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 3 Sep 2015 14:48:24 -0700 Subject: [PATCH] Honor is_nullable when creating columns --- src/object-store/object_store.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/object-store/object_store.cpp b/src/object-store/object_store.cpp index 9f2b3e3b..af05f47c 100644 --- a/src/object-store/object_store.cpp +++ b/src/object-store/object_store.cpp @@ -310,7 +310,9 @@ bool ObjectStore::create_tables(Group *group, Schema &target_schema, bool update break; } default: - target_prop.table_column = table->add_column(DataType(target_prop.type), target_prop.name); + target_prop.table_column = table->add_column(DataType(target_prop.type), + target_prop.name, + target_prop.is_nullable); break; }