diff options
-rw-r--r-- | odb/oracle/statement.cxx | 5 | ||||
-rw-r--r-- | odb/oracle/traits.hxx | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/odb/oracle/statement.cxx b/odb/oracle/statement.cxx index 21e976b..5d992b7 100644 --- a/odb/oracle/statement.cxx +++ b/odb/oracle/statement.cxx @@ -436,6 +436,11 @@ namespace odb if (r == OCI_ERROR || r == OCI_INVALID_HANDLE) translate_error (err, r); + // Make sure that the number of columns in the result returned by + // the database matches the number that we expect. A common cause + // of this assertion is a native view with a number of data members + // not matching the number of columns in the SELECT-list. + // assert (n == data_.count); #endif } diff --git a/odb/oracle/traits.hxx b/odb/oracle/traits.hxx index d33f282..74b60a5 100644 --- a/odb/oracle/traits.hxx +++ b/odb/oracle/traits.hxx @@ -38,6 +38,9 @@ namespace odb id_float, id_double, + // Both large fixed-point and large floating point NUMBER and FLOAT + // values are mapped to this id. + // id_big_float, id_date, |