From ef0483765a0fd567f25b1f0af6df04e8973e5624 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 20 Mar 2017 19:27:39 +0100 Subject: Small bug fixes and compatibility with Vala 0.36 --- qlite/src/query_builder.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qlite/src/query_builder.vala') diff --git a/qlite/src/query_builder.vala b/qlite/src/query_builder.vala index 7259eddf..06232fc1 100644 --- a/qlite/src/query_builder.vala +++ b/qlite/src/query_builder.vala @@ -23,7 +23,7 @@ public class QueryBuilder : StatementBuilder { // LIMIT [...] private int limit_val; - protected QueryBuilder(Database db) { + internal QueryBuilder(Database db) { base(db); } @@ -147,7 +147,7 @@ public class QueryBuilder : StatementBuilder { return row()[field]; } - public override Statement prepare() throws DatabaseError { + internal override Statement prepare() throws DatabaseError { Statement stmt = db.prepare(@"SELECT $column_selector FROM $table_name $(selection != null ? @"WHERE $selection" : "") $(order_by_terms != null ? OrderingTerm.all_to_string(order_by_terms) : "") $(limit_val > 0 ? @" LIMIT $limit_val" : "")"); for (int i = 0; i < selection_args.length; i++) { selection_args[i].bind(stmt, i+1); -- cgit v1.2.3-54-g00ecf