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.

-- 
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