diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-03 10:05:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-03 10:05:55 +0200 |
commit | 951f324ae01c4d8f9cbe1edb19b5f1c370f825a2 (patch) | |
tree | 7b305bd87aefbae495b668c68374d1976306aaf0 /odb/oracle/traits.cxx | |
parent | f2a1bfb98f447e6c922c12f4403a387243dd65c5 (diff) |
Add position context to LOB result callback
It turns out position context can be useful in result handling as well.
Diffstat (limited to 'odb/oracle/traits.cxx')
-rw-r--r-- | odb/oracle/traits.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/oracle/traits.cxx b/odb/oracle/traits.cxx index 40543ba..af0266f 100644 --- a/odb/oracle/traits.cxx +++ b/odb/oracle/traits.cxx @@ -104,7 +104,7 @@ namespace odb // bool string_lob_value_traits:: - result_callback (void* c, void* b, ub4 s, chunk_position p) + result_callback (void* c, ub4*, void* b, ub4 s, chunk_position p) { string& v (*static_cast<string*> (c)); @@ -173,7 +173,7 @@ namespace odb // bool default_value_traits<std::vector<char>, id_blob>:: - result_callback (void* c, void* b, ub4 s, chunk_position p) + result_callback (void* c, ub4*, void* b, ub4 s, chunk_position p) { value_type& v (*static_cast<value_type*> (c)); @@ -222,7 +222,7 @@ namespace odb // bool default_value_traits<std::vector<unsigned char>, id_blob>:: - result_callback (void* c, void* b, ub4 s, chunk_position p) + result_callback (void* c, ub4*, void* b, ub4 s, chunk_position p) { value_type& v (*static_cast<value_type*> (c)); |