Bugs item #2015219, was opened at 2008-07-10 18:37
Message generated for change (Comment added) made by yingying
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2015219&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/runtime
Group: Pathfinder 0.24
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ying Zhang (yingying)
Assigned to: Jan Rittinger (tsheyar)
Summary: PF: pf:mil() loses last MIL resulting BUN in elem_constr()
Initial Comment:
When converting the resulting BAT to XML elements (in elem_constr()), the value
of the last BUN is lost, as show by the query below:
xquery>pf:mil('var a :=new(str,str); a.insert("abc", "abc").insert("dsaf",
"dad"); a.print(); return a;')
more><>
#-----------------#
# h t # name
# str str # type
#-----------------#
[ "abc", "abc" ]
[ "dsaf", "dad" ]
<bun tail="abc" head="abc"/>,
<bun/>
While 'a' does contain two BUNs, as show by the print() statement.
Regards,
Jennie
----------------------------------------------------------------------
>Comment By: Ying Zhang (yingying)
Date: 2008-09-05 18:14
Message:
Logged In: YES
user_id=341633
Originator: YES
test added in
pathfinder/tests/BugTracker/Tests/pfmil_loses_last_bun.SF-2015219
----------------------------------------------------------------------
Comment By: Ying Zhang (yingying)
Date: 2008-09-05 18:12
Message:
Logged In: YES
user_id=341633
Originator: YES
Jan,
Thanks for fixing this. It works fine. However, your fix goes into the
current branch, while the problem also exists in the stable branch. Would
you please back-port your fix to the stable branch? Thanks again.
I assigned it to you because cvs said the code was latestly checked in by
you, but it doesn't have to mean you are responsible for fixing it. But
thanks for looking at it.
Jennie
----------------------------------------------------------------------
Comment By: Jan Rittinger (tsheyar)
Date: 2008-09-05 16:58
Message:
Logged In: YES
user_id=993208
Originator: NO
I'm definitely not responsible for pf:mil and elem_constr() is a
deprecated proc.
It however seems to work if mark is done starting from [EMAIL PROTECTED] in
ws_mil
instead of [EMAIL PROTECTED]
Jennie could you please check if everything works fine.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2015219&group_id=56967
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs