From 93fd134a92fb50cc6e8a9b5db3d6f25e84e6fa10 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Thu, 9 Mar 2017 21:46:16 +0100 Subject: Fix bugs and warnings in qlite --- qlite/src/insert_builder.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qlite/src/insert_builder.vala') diff --git a/qlite/src/insert_builder.vala b/qlite/src/insert_builder.vala index 654935a6..c1c17123 100644 --- a/qlite/src/insert_builder.vala +++ b/qlite/src/insert_builder.vala @@ -54,7 +54,7 @@ public class InsertBuilder : StatementBuilder { return this; } - public InsertBuilder value_null(Column column) { + public InsertBuilder value_null(Column column) throws DatabaseError { if (column.not_null) throw new DatabaseError.ILLEGAL_QUERY(@"Can't set non-null column $(column.name) to null"); if (fields == null) { fields = { new NullField(column) }; -- cgit v1.2.3-70-g09d2