diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-03 10:32:33 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-06 09:06:02 +0200 |
commit | 77a9123b55d8987b0ff890a9bdf1e5c111c4983d (patch) | |
tree | 65c3e4e172cd2b0b1f155e34bb6158034fd33971 | |
parent | d1f73a6fef3b6c71327acf2edbd66f0044bb1eff (diff) |
Add comments
-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, |