← Back to team overview

zorba-coders team mailing list archive

Re: [Merge] lp:~zorba-coders/zorba/bug-1046561 into lp:zorba

 

Review: Needs Fixing

simple_pul.cpp:1980
it seems that the inner key iterator should be opened and closed within the outer loop and the outer iterator should be closed as well

I think that that's the reason why this variation of zorba/jsoniq/obj_insert_04.xq:

  import module namespace j = "http://www.jsoniq.org/functions";;

  variable $o := { "foo" : "bar" };

  (
  insert json { "bar" : "foo" } into $o,
  insert json { "baz" : "boo", "bar": "so" } into $o
  );

  $o

crashes.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1046561/+merge/123961
Your team Zorba Coders is subscribed to branch lp:zorba.


References