diff options
author | louiz’ <louiz@louiz.org> | 2018-01-14 21:44:22 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-01-14 21:44:22 +0100 |
commit | 3cd649023680bd49f9865fd62474d4db6a9d7c68 (patch) | |
tree | 120bc40d92e2a5d9323ef1e0652b6b38711ce4e2 /src/database/sqlite3_engine.cpp | |
parent | b4b9828de50c09fea5503b3b3ead2ae9d5144404 (diff) | |
download | biboumi-3cd649023680bd49f9865fd62474d4db6a9d7c68.tar.gz biboumi-3cd649023680bd49f9865fd62474d4db6a9d7c68.tar.bz2 biboumi-3cd649023680bd49f9865fd62474d4db6a9d7c68.tar.xz biboumi-3cd649023680bd49f9865fd62474d4db6a9d7c68.zip |
Remove all the ugly database debug
Diffstat (limited to 'src/database/sqlite3_engine.cpp')
-rw-r--r-- | src/database/sqlite3_engine.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/database/sqlite3_engine.cpp b/src/database/sqlite3_engine.cpp index d159540..92d514b 100644 --- a/src/database/sqlite3_engine.cpp +++ b/src/database/sqlite3_engine.cpp @@ -39,9 +39,6 @@ std::set<std::string> Sqlite3Engine::get_all_columns_from_table(const std::strin sqlite3_free(errmsg); } - log_debug("List of columns in table ", table_name, ":"); - for (const auto& c: result) - log_debug(c); return result; } @@ -74,7 +71,6 @@ std::tuple<bool, std::string> Sqlite3Engine::raw_exec(const std::string& query) std::unique_ptr<Statement> Sqlite3Engine::prepare(const std::string& query) { sqlite3_stmt* stmt; - log_debug("SQLITE3: ", query); auto res = sqlite3_prepare(db, query.data(), static_cast<int>(query.size()) + 1, &stmt, nullptr); if (res != SQLITE_OK) @@ -88,7 +84,6 @@ std::unique_ptr<Statement> Sqlite3Engine::prepare(const std::string& query) void Sqlite3Engine::extract_last_insert_rowid(Statement&) { this->last_inserted_rowid = sqlite3_last_insert_rowid(this->db); - log_debug("extracted inserted ID: ", this->last_inserted_rowid); } std::string Sqlite3Engine::id_column_type() |