diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-26 10:58:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-26 10:58:50 +0200 |
commit | 858b2d37950c33cdf076382849de952ea44d7779 (patch) | |
tree | e913b7cd92498829956f3a3eef58b1600f0af00f /odb/relational/oracle | |
parent | 55b36b8297ef9aac9e4ccc7b98f8649534ee0ac1 (diff) |
Reimplement image copying for Oracle
Now we no longer "steal" descriptors (destructive copy). Instead, for
LOBs, we clone the locator using OCILobAssign(). For date-time types we
extract the data during copying. As a result of this change we no longer
need to track image changes and rebind the statements.
Diffstat (limited to 'odb/relational/oracle')
-rw-r--r-- | odb/relational/oracle/source.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/oracle/source.cxx b/odb/relational/oracle/source.cxx index 3a6b46a..2a795e2 100644 --- a/odb/relational/oracle/source.cxx +++ b/odb/relational/oracle/source.cxx @@ -580,7 +580,7 @@ namespace relational os << "if (" << i << ".change_callback_.callback != 0)" << endl << "(" << i << ".change_callback_.callback) (" << - i << ".change_callback_.context, 0);"; + i << ".change_callback_.context);"; if (poly_derived) os << "}"; |