From c65636599e4eb74dda8140cdf284913893c8f336 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Mon, 6 Jun 2016 23:00:10 +0300 Subject: [PATCH] rebase: soracle: remove debug code --- modules/goraclebackend/soracle.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()); } } -- 2.47.2