diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-04-06 09:35:22 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2005-04-06 09:35:22 +0000 |
commit | a2a89fc5e2258a6ef4d286f5b1153207356d31c5 (patch) | |
tree | c04c1c64910d6f404240a6896d0bf688dc66d303 /connectivity/source | |
parent | 0bec0ade7bdbfbb0de5b7a5054aeea533c87a85c (diff) |
INTEGRATION: CWS hsqldb4 (1.5.4); FILE MERGED
2005/03/31 11:52:46 fs 1.5.4.2: #i41785# some more traces
2005/03/31 09:16:53 fs 1.5.4.1: pseudo-resync to m90, which is not ready yet (and thus not available to real resync)
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HStorageAccess.cxx | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx index 9b1d77b140ef..5f3759492a28 100644 --- a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx @@ -2,9 +2,9 @@ * * $RCSfile: HStorageAccess.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-03-30 11:51:33 $ + * last change: $Author: hr $ $Date: 2005-04-06 10:35:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -117,6 +117,12 @@ JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_o JNIEXPORT void JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_close (JNIEnv * env, jobject obj_this,jstring name, jstring key) { +#if OSL_DEBUG_LEVEL > 1 + { + ::rtl::OUString sKey = StorageContainer::jstring2ustring(env,key); + ::rtl::OUString sName = StorageContainer::jstring2ustring(env,name); + } +#endif ::boost::shared_ptr<StreamHelper> pHelper = StorageContainer::getRegisteredStream(env,name,key); Reference< XOutputStream> xFlush = pHelper.get() ? pHelper->getOutputStream() : Reference< XOutputStream>(); if ( xFlush.is() ) @@ -255,6 +261,12 @@ JNIEXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_NativeStorageAccess_r jint read_from_storage_stream_into_buffer( JNIEnv * env, jobject obj_this,jstring name, jstring key, jbyteArray buffer, jint off, jint len, DataLogFile* logger ) { +#if OSL_DEBUG_LEVEL > 1 + { + ::rtl::OUString sKey = StorageContainer::jstring2ustring(env,key); + ::rtl::OUString sName = StorageContainer::jstring2ustring(env,name); + } +#endif ::boost::shared_ptr<StreamHelper> pHelper = StorageContainer::getRegisteredStream(env,name,key); Reference< XInputStream> xIn = pHelper.get() ? pHelper->getInputStream() : Reference< XInputStream>(); OSL_ENSURE(xIn.is(),"Input stream is NULL!"); |