diff options
Diffstat (limited to 'libcommon')
-rw-r--r-- | libcommon/common/common.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcommon/common/common.hxx b/libcommon/common/common.hxx index 6ae33d4..b3ab40c 100644 --- a/libcommon/common/common.hxx +++ b/libcommon/common/common.hxx @@ -35,7 +35,7 @@ std::size_t size (odb::result<T>& r) { std::size_t n (0); -#if defined(DATABASE_SQLITE) +#if defined(DATABASE_SQLITE) || defined(DATABASE_ORACLE) for (typename odb::result<T>::iterator i (r.begin ()); i != r.end (); ++i) n++; #else |