From: Aki Tuomi Date: Mon, 6 Jun 2016 20:00:10 +0000 (+0300) Subject: rebase: soracle: remove debug code X-Git-Tag: auth-4.0.0-rc1~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c65636599e4eb74dda8140cdf284913893c8f336;p=thirdparty%2Fpdns.git rebase: soracle: remove debug code --- diff --git a/modules/goraclebackend/soracle.cc b/modules/goraclebackend/soracle.cc index d8ec9d6c2d..35e6da1dda 100644 --- a/modules/goraclebackend/soracle.cc +++ b/modules/goraclebackend/soracle.cc @@ -344,7 +344,7 @@ private: if (OCIStmtPrepare2(d_svcctx, &d_stmt, d_err, (text*)d_query.c_str(), d_query.size(), NULL, 0, OCI_NTV_SYNTAX, OCI_DEFAULT) != OCI_SUCCESS) { // failed. - throw SSqlException("Cannot prepare statement (1): " + d_query + string(": ") + OCIErrStr()); + throw SSqlException("Cannot prepare statement: " + d_query + string(": ") + OCIErrStr()); } d_init = true; } else { @@ -362,12 +362,12 @@ private: if (d_query.size()==0) return; if (d_init == false) { if (OCIStmtPrepare2(d_svcctx, &d_stmt, d_err, (text*)d_query.c_str(), d_query.size(), NULL, 0, OCI_NTV_SYNTAX, OCI_DEFAULT) != OCI_SUCCESS) { - throw SSqlException("Cannot prepare statement (2): " + d_query + string(": ") + OCIErrStr()); + throw SSqlException("Cannot prepare statement: " + d_query + string(": ") + OCIErrStr()); } d_init = true; } else { if (OCIStmtPrepare2(d_svcctx, &d_stmt, d_err, (text*)d_query.c_str(), d_query.size(), d_stmt_key, d_stmt_keysize, OCI_NTV_SYNTAX, OCI_DEFAULT) != OCI_SUCCESS) { - throw SSqlException("Cannot prepare statement (3): " + d_query + string(": ") + OCIErrStr()); + throw SSqlException("Cannot prepare statement: " + d_query + string(": ") + OCIErrStr()); } }