diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-22 15:00:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-22 15:00:33 +0200 |
commit | 33a0d3bd87b17977a2c5aec9c1b19ed81303542a (patch) | |
tree | ef83c9be0ec7e03235e847965b80e7b6bed2cbf7 | |
parent | 9246f317171bdab7359bdb5b148be8cb66156d73 (diff) |
Fix invalid max size for RAW query parameter
-rw-r--r-- | odb/oracle/query.hxx | 4 |
1 files 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_; }; } |