From c8465048b378c7e162ba8e00f0226a5a0ab5281b Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Wed, 26 Oct 2011 10:11:15 +0200 Subject: Disable use of result::size for Oracle tests --- libcommon/common/common.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcommon') 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& r) { std::size_t n (0); -#if defined(DATABASE_SQLITE) +#if defined(DATABASE_SQLITE) || defined(DATABASE_ORACLE) for (typename odb::result::iterator i (r.begin ()); i != r.end (); ++i) n++; #else -- cgit v1.1