zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #23672
[Merge] lp:~zorba-coders/zorba/bug-1158052-jdbc into lp:zorba/jdbc-module
Paul J. Lucas has proposed merging lp:~zorba-coders/zorba/bug-1158052-jdbc into lp:zorba/jdbc-module.
Commit message:
Corresponding changes for bug #1158052.
Requested reviews:
Paul J. Lucas (paul-lucas)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1158052-jdbc/+merge/170947
Corresponding changes for bug #1158052.
--
https://code.launchpad.net/~zorba-coders/zorba/bug-1158052-jdbc/+merge/170947
Your team Zorba Coders is subscribed to branch lp:zorba/jdbc-module.
=== modified file 'src/jdbc.xq.src/jsonitemsequence.cpp'
--- src/jdbc.xq.src/jsonitemsequence.cpp 2013-06-11 20:47:52 +0000
+++ src/jdbc.xq.src/jsonitemsequence.cpp 2013-06-22 13:14:25 +0000
@@ -109,8 +109,8 @@
CHECK_EXCEPTION
jbyteArray bytes = (jbyteArray) env->CallObjectMethod(oBlob, jBlob.getBytes, 1, length);
CHECK_EXCEPTION
- const unsigned char* byteString = reinterpret_cast<const unsigned char*>(env->GetByteArrayElements(bytes, 0));
- aValue = itemFactory->createBase64Binary(byteString, length);
+ const char* byteString = reinterpret_cast<const char*>(env->GetByteArrayElements(bytes, 0));
+ aValue = itemFactory->createBase64Binary(byteString, length, false);
} else {
aValue = itemFactory->createJSONNull();
}
Follow ups