diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-14 20:13:24 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | 080487c961b424c9dd822d38ec8c2c4d79aff24b (patch) | |
tree | 2380205a466eee8837d62f599b83a3a50c41d7c1 /src/sql/SqlQuery.cpp | |
parent | 4241bcd4e14095e4340a0300e205f6fdc503f1d8 (diff) |
Only download nodes that we are missing
Diffstat (limited to 'src/sql/SqlQuery.cpp')
-rw-r--r-- | src/sql/SqlQuery.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/sql/SqlQuery.cpp b/src/sql/SqlQuery.cpp index 47f1463..b99f92d 100644 --- a/src/sql/SqlQuery.cpp +++ b/src/sql/SqlQuery.cpp @@ -3,20 +3,6 @@ namespace odhtdb { - int SqlArg::bind(sqlite3_stmt *stmt, int paramIndex) const - { - switch(type) - { - case Type::DATA_VIEW: - return sqlite3_bind_blob(stmt, paramIndex, dataView.data, dataView.size, SQLITE_STATIC); - case Type::INT: - return sqlite3_bind_int(stmt, paramIndex, integer); - case Type::INT64: - return sqlite3_bind_int64(stmt, paramIndex, integer64); - } - return SQLITE_OK; - } - SqlQuery::SqlQuery(sqlite3 *_db, const char *sql, std::initializer_list<SqlArg> args) : db(_db), stmt(nullptr), |