summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-04-01 14:01:12 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-04-01 14:01:12 +0100
commit61e10b941ea2ea9df0234eceed90a5f93f8f5f32 (patch)
tree268128bdba7c8fded9f1f48d051b3070e9d37a6d /libpqpp
parentTransactionless cursor selects (diff)
downloadlibdbpp-postgresql-61e10b941ea2ea9df0234eceed90a5f93f8f5f32.tar.bz2
libdbpp-postgresql-61e10b941ea2ea9df0234eceed90a5f93f8f5f32.tar.xz
libdbpp-postgresql-61e10b941ea2ea9df0234eceed90a5f93f8f5f32.zip
Updated compile flags
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/unittests/testpq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp
index cfe7b11..56ab20f 100644
--- a/libpqpp/unittests/testpq.cpp
+++ b/libpqpp/unittests/testpq.cpp
@@ -463,7 +463,7 @@ BOOST_AUTO_TEST_CASE( largeBlob )
ro->execute("TRUNCATE TABLE blobtest");
AdHoc::FileUtils::MemMap f("/proc/self/exe");
DB::Blob blob(f.data, f.getStat().st_size);
- BOOST_REQUIRE(blob.len > 200000); // Just assert the mapped file is actually "large"
+ BOOST_REQUIRE(blob.len > 140000); // Just assert the mapped file is actually "large"
auto ins = ro->modify("INSERT INTO blobtest(data) VALUES(?)");
ins->bindParamBLOB(0, blob);
ins->execute();