aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-26 10:58:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-26 10:58:50 +0200
commit76a03fd7964b85cdc1a903df79bfd47711c720e9 (patch)
tree4c73f15b891746990b62e9a33b75c7feb2989b8d /odb/oracle/statement.hxx
parent7a3b76479162e3e3fe6c425f7bb20eaea8f41e17 (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/oracle/statement.hxx')
-rw-r--r--odb/oracle/statement.hxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/odb/oracle/statement.hxx b/odb/oracle/statement.hxx
index 6a5d604..ba85fd8 100644
--- a/odb/oracle/statement.hxx
+++ b/odb/oracle/statement.hxx
@@ -110,17 +110,6 @@ namespace odb
std::size_t count,
std::size_t lob_prefetch_size = 0);
- // Rebind LOB input parameters. If a query has made a private copy of
- // the shared image, any LOB handles that were previously owned by the
- // shared image are now owned by the private image of the query. These
- // LOB handles need to be reallocated and redefined so that any unfetched
- // results may be fetched.
- //
- void
- rebind_result (bind*,
- std::size_t count,
- std::size_t lob_prefetch_size = 0);
-
// Stream the result LOBs, calling user callbacks where necessary.
// The old_base and new_base arguments can be used to "re-base" the
// lob_callback struct pointer (stored in bind::callback), the lob
@@ -278,9 +267,7 @@ namespace odb
private:
binding& result_;
- std::size_t result_version_;
ub4 result_count_; // Actual number of bound columns.
- const std::size_t lob_prefetch_size_;
bool done_;
};