aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/database_postgres.cc2
-rw-r--r--src/querymanager.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/database_postgres.cc b/src/database_postgres.cc
index 8cfc6ab..3c522c1 100644
--- a/src/database_postgres.cc
+++ b/src/database_postgres.cc
@@ -145,7 +145,7 @@ static void ParamBool(ParamBuffer *Params, bool Value){
if(Params->PreferredFormat == 1){ // BINARY FORMAT
uint8 Data = (Value ? 0x01 : 0x00);
InsertBinaryParam(Params, &Data, 1);
- }else{ // TEXT FORMAT
+ }else{
InsertTextParam(Params, (Value ? "TRUE" : "FALSE"));
}
}
diff --git a/src/querymanager.hh b/src/querymanager.hh
index a7108a6..46ea80d 100644
--- a/src/querymanager.hh
+++ b/src/querymanager.hh
@@ -642,7 +642,7 @@ public:
// String Buffer
//==============================================================================
-template<int N = KB(2)>
+template<int N>
struct StringBuffer{
private:
STATIC_ASSERT(N > 0);