aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/sqlite.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-05-26 20:53:46 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-10-14 11:28:18 -0400
commitf6f9cd6a64842ef23777312f2465e826ca04b886 (patch)
tree296c59f7a55da61207e96812ee45d4d3580b0655 /src/wallet/sqlite.h
parentbf90e033f4fe86cfb90492c7e0962278ea3a146d (diff)
downloadbitcoin-f6f9cd6a64842ef23777312f2465e826ca04b886.tar.xz
Implement SQLiteBatch::StartCursor, ReadAtCursor, and CloseCursor
Diffstat (limited to 'src/wallet/sqlite.h')
-rw-r--r--src/wallet/sqlite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/sqlite.h b/src/wallet/sqlite.h
index 4d4dca1d20..dca6560abb 100644
--- a/src/wallet/sqlite.h
+++ b/src/wallet/sqlite.h
@@ -18,6 +18,8 @@ class SQLiteBatch : public DatabaseBatch
private:
SQLiteDatabase& m_database;
+ bool m_cursor_init = false;
+
sqlite3_stmt* m_read_stmt{nullptr};
sqlite3_stmt* m_insert_stmt{nullptr};
sqlite3_stmt* m_overwrite_stmt{nullptr};