summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2019-11-03 22:22:09 +0100
committerlouiz’ <louiz@louiz.org>2019-11-06 17:22:38 +0100
commit438b7fb803442dd7a1522cc9c44001307ac8196a (patch)
treea49e082f44ad0045829e9e6f5b1da79455145d0f /src/database
parent7ca1b33ae39360ae7982bf862ace1f1088e11067 (diff)
downloadbiboumi-438b7fb803442dd7a1522cc9c44001307ac8196a.tar.gz
biboumi-438b7fb803442dd7a1522cc9c44001307ac8196a.tar.bz2
biboumi-438b7fb803442dd7a1522cc9c44001307ac8196a.tar.xz
biboumi-438b7fb803442dd7a1522cc9c44001307ac8196a.zip
Remove a useless “givin up” debug line
Diffstat (limited to 'src/database')
-rw-r--r--src/database/postgresql_statement.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/database/postgresql_statement.hpp b/src/database/postgresql_statement.hpp
index 2dc7d7c..345a942 100644
--- a/src/database/postgresql_statement.hpp
+++ b/src/database/postgresql_statement.hpp
@@ -117,11 +117,7 @@ private:
PQreset(this->conn);
return this->execute(true);
}
- else
- {
- log_error("Givin up.");
- return false;
- }
+ return false;
}
return true;
}