aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/view-result.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/view-result.txx')
-rw-r--r--odb/oracle/view-result.txx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/oracle/view-result.txx b/odb/oracle/view-result.txx
index b2049b8..e29f533 100644
--- a/odb/oracle/view-result.txx
+++ b/odb/oracle/view-result.txx
@@ -57,8 +57,8 @@ namespace odb
b.version++;
}
- this->end_ = this->end_ ||
- (statement_->fetch () == select_statement::success ? false : true);
+ if (statement_->fetch () == select_statement::no_data)
+ this->end_ = true;
}
template <typename T>