diff options
author | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2010-07-08 12:46:25 +0200 |
---|---|---|
committer | Ocke Janssen [oj] <Ocke.Janssen@sun.com> | 2010-07-08 12:46:25 +0200 |
commit | 8300ef8db57da4dbf65a5b10323e1c909c41490b (patch) | |
tree | 33cef44c3f6f5835986f616c190da4b6281439fd /connectivity | |
parent | bf97aef60b98b7c72ebd494845d0bdfa0c54ef84 (diff) |
dba33g: assertion when closing stream, only close either the input stream or output stream
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HStorageMap.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/drivers/hsqldb/HStorageMap.cxx b/connectivity/source/drivers/hsqldb/HStorageMap.cxx index fe4e5d9ca12e..57ed88b1dda8 100644 --- a/connectivity/source/drivers/hsqldb/HStorageMap.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageMap.cxx @@ -68,8 +68,8 @@ namespace connectivity m_xInputStream->closeInput(); m_xInputStream.clear(); } - /* this is done implicity by the closing of the input stream - if ( m_xOutputStream.is() ) + // this is done implicity by the closing of the input stream + else if ( m_xOutputStream.is() ) { m_xOutputStream->closeOutput(); try @@ -86,7 +86,6 @@ namespace connectivity } m_xOutputStream.clear(); } - */ } catch(Exception& ex) { |