diff options
-rw-r--r-- | odb/oracle/statement.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx index 129b237..8e96696 100644 --- a/odb/oracle/statement.cxx +++ b/odb/oracle/statement.cxx @@ -594,7 +594,7 @@ namespace odb if (r == OCI_ERROR || r == OCI_INVALID_HANDLE) translate_error (err, r); - done_ = false; + done_ = r == OCI_NO_DATA; #ifndef NDEBUG ub4 n (0); |