aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-08 09:02:58 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-08 09:02:58 +0200
commit918a370b30559aa73614575482fee6ba3cd04af3 (patch)
treeb9cf395f907c2a6de93be08769d4c06e12bab425 /odb/oracle/statement.cxx
parent39223036869eaca2ef721f7affefa050005ccd75 (diff)
Use OCI_STRLS_CACHE_DELETE release mode for select, insert, update, and delete
Diffstat (limited to 'odb/oracle/statement.cxx')
-rw-r--r--odb/oracle/statement.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index 64b5a7a..fdb5950 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -40,7 +40,7 @@ namespace odb
if (r == OCI_ERROR || r == OCI_INVALID_HANDLE)
translate_error (conn_.error_handle (), r);
- stmt_.reset (handle, OCI_DEFAULT, conn_.error_handle ());
+ stmt_.reset (handle, OCI_STRLS_CACHE_DELETE, err);
}
void statement::