Merge lp:~zorba-coders/zorba/bug-1158052-geo into lp:zorba/geo-module

Proposed by Paul J. Lucas
Status: Merged
Merged at revision: 43
Proposed branch: lp:~zorba-coders/zorba/bug-1158052-geo
Merge into: lp:zorba/geo-module
Diff against target: 24 lines (+8/-2)
1 file modified
src/org/expath/ns/geo.xq.src/geo_functions.cpp (+8/-2)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug-1158052-geo
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Paul J. Lucas Approve
Review via email: mp+170945@code.launchpad.net

Commit message

Corresponding changes for bug #1158052.

Description of the change

Corresponding changes for bug #1158052.

To post a comment you must log in.
Revision history for this message
Paul J. Lucas (paul-lucas) :
review: Approve
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue succeeded - proposal merged!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/org/expath/ns/geo.xq.src/geo_functions.cpp'
--- src/org/expath/ns/geo.xq.src/geo_functions.cpp 2012-01-11 18:21:00 +0000
+++ src/org/expath/ns/geo.xq.src/geo_functions.cpp 2013-06-22 13:11:26 +0000
@@ -2870,7 +2870,11 @@
2870 binary_bin[i] = ((hex_to_bin(hex_str[i*2]) << 4) | hex_to_bin(hex_str[i*2+1]));2870 binary_bin[i] = ((hex_to_bin(hex_str[i*2]) << 4) | hex_to_bin(hex_str[i*2+1]));
2871 }2871 }
28722872
2873 zorba::Item base64_item = theModule->getItemFactory()->createBase64Binary(binary_bin, binary_len);2873 zorba::Item base64_item(
2874 theModule->getItemFactory()->createBase64Binary(
2875 reinterpret_cast<char const*>(binary_bin), binary_len, false
2876 )
2877 );
2874 delete[] binary_bin;2878 delete[] binary_bin;
28752879
2876 return ItemSequence_t(new SingletonItemSequence(base64_item));2880 return ItemSequence_t(new SingletonItemSequence(base64_item));
@@ -4504,4 +4508,6 @@
4504}4508}
45054509
45064510
4507} /* namespace geomodule */ } /* namespace zorba */4511} /* namespace geomodule */
4512} /* namespace zorba */
4513/* vim:set et sw=2 ts=2: */

Subscribers

People subscribed via source and target branches

to all changes: