diff options
author | Ocke Janssen <Ocke.Janssen@sun.com> | 2009-10-29 12:00:17 +0100 |
---|---|---|
committer | Ocke Janssen <Ocke.Janssen@sun.com> | 2009-10-29 12:00:17 +0100 |
commit | e7fe401266dd68fb882509e7bbd089bf3fe4fcb8 (patch) | |
tree | bff1b6b645921c20e03ba383abfc298c3a5fda66 /connectivity/source/inc | |
parent | 9613fb1c026d0320ef658000bf9f238c75181cb4 (diff) |
#i106422# assure that the sequence stays alive when set binary data
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/odbc/OBoundParam.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/connectivity/source/inc/odbc/OBoundParam.hxx b/connectivity/source/inc/odbc/OBoundParam.hxx index 31d3dde82b..a2b5a4cceb 100644 --- a/connectivity/source/inc/odbc/OBoundParam.hxx +++ b/connectivity/source/inc/odbc/OBoundParam.hxx @@ -119,6 +119,11 @@ namespace connectivity paramInputStreamLen = len; } + void setSequence(const ::com::sun::star::uno::Sequence< sal_Int8 >& _aSequence) + { + aSequence = _aSequence; + } + //-------------------------------------------------------------------- // getInputStream // Gets the input stream for the bound parameter @@ -191,6 +196,7 @@ namespace connectivity // data is in native format. ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream> paramInputStream; + ::com::sun::star::uno::Sequence< sal_Int8 > aSequence; // When an input stream is // bound to a parameter, the // input stream is saved |