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();
           } 

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to