zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #18168
[Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch into lp:zorba.
Commit message:
optimized ref counting in JSONObjectNamesIterator::nextImpl()
Requested reviews:
Markos Zaharioudakis (markos-za)
For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/148888
optimized ref counting in JSONObjectNamesIterator::nextImpl()
--
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/148888
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/runtime/json/jsoniq_functions_impl.cpp'
--- src/runtime/json/jsoniq_functions_impl.cpp 2013-02-12 03:55:18 +0000
+++ src/runtime/json/jsoniq_functions_impl.cpp 2013-02-16 16:44:28 +0000
@@ -884,7 +884,6 @@
PlanState& planState) const
{
store::Item_t input;
- store::Item_t key;
JSONObjectNamesIteratorState* state;
DEFAULT_STACK_INIT(JSONObjectNamesIteratorState, state, planState);
@@ -894,9 +893,8 @@
state->theNames = input->getObjectKeys();
state->theNames->open();
- while (state->theNames->next(key))
+ while (state->theNames->next(result))
{
- result = key;
STACK_PUSH (true, state);
}
state->theNames = NULL;
Follow ups