]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rebase: soracle: remove debug code
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 6 Jun 2016 20:00:10 +0000 (23:00 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Mon, 6 Jun 2016 20:00:10 +0000 (23:00 +0300)
modules/goraclebackend/soracle.cc

index d8ec9d6c2d82e56b6b992ff520bc0b9929eff4c8..35e6da1dda40142c48a0707c05d2ed3cba82fb07 100644 (file)
@@ -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());
       }
     }