diff options
Diffstat (limited to 'qlite/src/update_builder.vala')
-rw-r--r-- | qlite/src/update_builder.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qlite/src/update_builder.vala b/qlite/src/update_builder.vala index f6729772..5f721a32 100644 --- a/qlite/src/update_builder.vala +++ b/qlite/src/update_builder.vala @@ -123,6 +123,7 @@ public class UpdateBuilder : StatementBuilder { } public void perform() throws DatabaseError { + if (fields == null || fields.length == 0) return; if (prepare().step() != DONE) { throw new DatabaseError.EXEC_ERROR(@"SQLite error: $(db.errcode()) - $(db.errmsg())"); } |