aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-26 10:11:15 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-26 17:16:04 +0200
commitc8465048b378c7e162ba8e00f0226a5a0ab5281b (patch)
tree548357c4b160e9a4ccc51272857e0cd5fdb39322 /libcommon/common
parent80b07458047bfc73281a25747198df6c6a6f9875 (diff)
Disable use of result::size for Oracle tests
Diffstat (limited to 'libcommon/common')
-rw-r--r--libcommon/common/common.hxx2
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