diff --git a/src/stats/model/sqlite-output.cc b/src/stats/model/sqlite-output.cc index dfb054a7a..4427798ba 100644 --- a/src/stats/model/sqlite-output.cc +++ b/src/stats/model/sqlite-output.cc @@ -173,6 +173,17 @@ SQLiteOutput::Bind (sqlite3_stmt *stmt, int pos, const long &value) const return false; } +template<> +bool +SQLiteOutput::Bind (sqlite3_stmt *stmt, int pos, const long long &value) const +{ + if (sqlite3_bind_int64 (stmt, pos, value) == SQLITE_OK) + { + return true; + } + return false; +} + template<> bool SQLiteOutput::Bind (sqlite3_stmt *stmt, int pos, const uint16_t &value) const