From: Aki Tuomi Date: Mon, 6 Jun 2016 09:49:38 +0000 (+0300) Subject: gOracle: Remove trailing whitespace X-Git-Tag: auth-4.0.0-rc1~5^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb53a6b5ea2dd0e8b19efa729ab407390b79efc7;p=thirdparty%2Fpdns.git gOracle: Remove trailing whitespace --- diff --git a/modules/goraclebackend/soracle.cc b/modules/goraclebackend/soracle.cc index d38e15fe6a..d9976a43fa 100644 --- a/modules/goraclebackend/soracle.cc +++ b/modules/goraclebackend/soracle.cc @@ -44,11 +44,11 @@ public: d_stmt_key[d_stmt_keysize] = 0; } - SSqlStatement* bind(const string& name, bool value) - { + SSqlStatement* bind(const string& name, bool value) + { return bind(name, (int)value); } - SSqlStatement* bind(const string& name, int value) + SSqlStatement* bind(const string& name, int value) { if (d_paridx >= d_parnum) throw SSqlException("Attempt to bind more parameters than query has: " + d_query); @@ -87,7 +87,7 @@ public: d_paridx++; return this; } - SSqlStatement* bind(const string& name, unsigned long value) + SSqlStatement* bind(const string& name, unsigned long value) { if (d_paridx >= d_parnum) throw SSqlException("Attempt to bind more parameters than query has: " + d_query); @@ -126,7 +126,7 @@ public: d_paridx++; return this; } - SSqlStatement* bind(const string& name, const std::string& value) + SSqlStatement* bind(const string& name, const std::string& value) { if (d_paridx >= d_parnum) throw SSqlException("Attempt to bind more parameters than query has: " + d_query); @@ -141,8 +141,8 @@ public: d_paridx++; return this; } - SSqlStatement* bindNull(const string& name) - { + SSqlStatement* bindNull(const string& name) + { if (d_paridx >= d_parnum) throw SSqlException("Attempt to bind more parameters than query has: " + d_query); prepareStatement(); @@ -154,12 +154,12 @@ public: d_paridx++; return this; } - SSqlStatement* execute() + SSqlStatement* execute() { if (d_query.size() == 0) return this; // do not execute empty queries prepareStatement(); - if (d_dolog) + if (d_dolog) L< 0) { for(int i=0;i