Bugs item #1678593, was opened at 2007-03-11 23:29
Message generated for change (Comment added) made by yingying
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1678593&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 CVS Head
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ying Zhang (yingying)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: document added/deleted with error occured

Initial Comment:
In the head branch, adding (or deleting) a document with pf:add-doc (or 
pf:del-doc) gives an error concerning "tj_play_doc_tape", but the document is 
still added (or deleted)

$ MapiClient -lx
xquery>pf:add-doc("/ufs/zhang/xml/a.xml", "a.xml", "test2", 10)

more>MAPI  = [EMAIL PROTECTED]:50000
QUERY = pf:add-doc("/ufs/zhang/xml/a.xml", "a.xml", "test2", 10)
ERROR = !ERROR: interpret: no matching MIL operator to 
'tj_play_doc_tape(BAT[oid,BAT], BAT[oid,oid], BAT[oid,int], BAT[oid,lng], 
BAT[oid,str])'.

xquery>doc("a.xml")

more><?xml version="1.0" encoding="utf-8"?>
<hello lang="en">
  <world/>
</hello>

==> Hence, the document is still added


xquery>pf:del-doc("a.xml")

more>MAPI  = [EMAIL PROTECTED]:50000
QUERY = pf:del-doc("a.xml")
ERROR = !ERROR: interpret: no matching MIL operator to 
'tj_play_doc_tape(BAT[oid,BAT], BAT[oid,oid], BAT[oid,int], BAT[oid,lng], 
BAT[oid,str])'.

xquery>doc("a.xml")

more>MAPI  = [EMAIL PROTECTED]:50000
QUERY = doc("a.xml")
ERROR = !ERROR: [shred_url]: 1 times inserted nil due to errors at tuples 
[EMAIL PROTECTED]
        !ERROR: [shred_url]: first error was:
        !ERROR: shred: cannot stat `a.xml': No such file or directory
        !ERROR: CMDshred_url: operation failed.
        !ERROR: interpret_params: leftfetchjoin(param 2): evaluation error.

==> Hence, the document is still deleted.


Regards,

Jennie

----------------------------------------------------------------------

>Comment By: Ying Zhang (yingying)
Date: 2007-03-13 22:51

Message:
Logged In: YES 
user_id=341633
Originator: YES

Seems to have been fixed by Peter's last check-ins.

No test needed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1678593&group_id=56967

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to