aboutsummaryrefslogtreecommitdiff
path: root/qlite/src/row.vala
diff options
context:
space:
mode:
Diffstat (limited to 'qlite/src/row.vala')
-rw-r--r--qlite/src/row.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/qlite/src/row.vala b/qlite/src/row.vala
index ed0552a0..60c7b666 100644
--- a/qlite/src/row.vala
+++ b/qlite/src/row.vala
@@ -56,7 +56,8 @@ public class RowIterator {
private Database db;
private Statement stmt;
- public RowIterator.from_query_builder(QueryBuilder query) throws DatabaseError {
+ public RowIterator.from_query_builder(Database db, QueryBuilder query) throws DatabaseError {
+ this.db = db;
this.stmt = query.prepare();
}