summaryrefslogtreecommitdiff
path: root/src/database/query.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-01-14 21:44:22 +0100
committerlouiz’ <louiz@louiz.org>2018-01-14 21:44:22 +0100
commit3cd649023680bd49f9865fd62474d4db6a9d7c68 (patch)
tree120bc40d92e2a5d9323ef1e0652b6b38711ce4e2 /src/database/query.cpp
parentb4b9828de50c09fea5503b3b3ead2ae9d5144404 (diff)
downloadbiboumi-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/query.cpp')
-rw-r--r--src/database/query.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/database/query.cpp b/src/database/query.cpp
index 6f305b2..4054007 100644
--- a/src/database/query.cpp
+++ b/src/database/query.cpp
@@ -3,19 +3,16 @@
void actual_bind(Statement& statement, const std::string& value, int index)
{
- log_debug("binding string:", value, " to col ", index);
statement.bind_text(index, value);
}
void actual_bind(Statement& statement, const std::size_t value, int index)
{
- log_debug("binding size_t:", value);
statement.bind_int64(index, value);
}
void actual_bind(Statement& statement, const OptionalBool& value, int index)
{
- log_debug("binding optional_t:", value.to_string());
if (!value.is_set)
statement.bind_int64(index, 0);
else if (value.value)