From 33a0d3bd87b17977a2c5aec9c1b19ed81303542a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 22 Jan 2012 15:00:33 +0200 Subject: Fix invalid max size for RAW query parameter --- odb/oracle/query.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odb/oracle/query.hxx b/odb/oracle/query.hxx index 55fa8e0..726086e 100644 --- a/odb/oracle/query.hxx +++ b/odb/oracle/query.hxx @@ -1677,7 +1677,7 @@ namespace odb { b->type = bind_type::string; b->buffer = image_; - b->capacity = 4000; + b->capacity = 2000; b->size = &size_; } @@ -1696,7 +1696,7 @@ namespace odb } private: - char image_[4000]; + char image_[2000]; ub2 size_; }; } -- cgit v1.1