aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/statement.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-27 15:53:35 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-01 13:14:54 +0200
commit02e8f9f8d3276433398bc04bf66ff8e55e8d3d31 (patch)
treedd57100b709f867a93feb95296db40f4c50466e5 /odb/oracle/statement.cxx
parent35dd30f3304027fc4b6167a64bb8d2fe1152d5bf (diff)
Implement query image change callback machinery
Diffstat (limited to 'odb/oracle/statement.cxx')
-rw-r--r--odb/oracle/statement.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx
index cd09e30..ebddf0c 100644
--- a/odb/oracle/statement.cxx
+++ b/odb/oracle/statement.cxx
@@ -521,6 +521,11 @@ namespace odb
{
if (!done_)
{
+ change_callback* cc (data_.change_callback);
+
+ if (cc != 0 && cc->callback != 0)
+ (cc->callback) (cc->context);
+
sword r (OCIStmtFetch2 (stmt_,
conn_.error_handle (),
1,