Update of /cvsroot/monetdb/pathfinder/runtime/Tests
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv1424/runtime/Tests
Modified Files:
Tag: XQuery_0-16
sigs.stable.out
Log Message:
Fix of bug [ 1644610 ] Conflict between normal query and XRPC query
To print the XRPC response message, we need the module NS and the name
of called method. Previously, we search for these two values in
'shredBAT'. This is error prone, because (i) we expect shredBAT to be
in the container 1, which is not always true and (ii) shredBAT is not
always added, because of the reuse of MIL tree.
Solution: store these two value explicitly in struct xquery_client.
Changes:
- struct xquery_client get two new variable 'moduleNS' and 'method'
- signature of xquery_print_result_loop is changed, added two new
parameters.
- all calls to the MIL Command print_result have been adapted.
- added two new tests:
conflict_normal_xrpc_queries_nx.SF-1644610: first a normal query with
a function call, then an XRPC query with call to the same function
conflict_normal_xrpc_queries_xn.SF-1644610: first an XRPC query with
a function call, then a normal query with call to the same function
Index: sigs.stable.out
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/Tests/sigs.stable.out,v
retrieving revision 1.78
retrieving revision 1.78.2.1
diff -u -d -r1.78 -r1.78.2.1
--- sigs.stable.out 18 Jan 2007 15:21:20 -0000 1.78
+++ sigs.stable.out 8 Feb 2007 18:15:29 -0000 1.78.2.1
@@ -83,9 +83,9 @@
[ "preceding_sibling(BAT[void,oid], BAT[void,oid], oid, BAT[void,BAT], int) :
BAT[void,BAT]" ]
[ "preceding_void(BAT[void,int], BAT[oid,any], BAT[oid,oid], int) :
BAT[oid,void]"
]
[ "print_doc(str, BAT[void,BAT], str) : void"
]
-[ "print_result(str, BAT[oid,BAT], BAT[oid,any], BAT[void,oid], BAT[void,oid],
BAT[void,int], BAT[oid,lng], BAT[oid,dbl], BAT[oid,str]) : void"
]
[ "print_result(str, BAT[void,BAT], BAT[void,oid], BAT[void,int],
BAT[void,lng], BAT[void,dbl], BAT[void,dbl], BAT[void,str]) : void" ]
[ "print_result(str, str, BAT[void,BAT], oid, int, BAT[void,lng],
BAT[void,dbl], BAT[void,dbl], BAT[void,str]) : void"
]
+[ "print_result(str, str, str, BAT[oid,BAT], BAT[oid,any], BAT[void,oid],
BAT[void,oid], BAT[void,int], BAT[oid,lng], BAT[oid,dbl], BAT[oid,str]) : void"
]
[ "round_up(dbl) : dbl"
]
[ "scj_anc(BAT[void,int], BAT[oid,any], int) : BAT[oid,void]"
]
[ "scj_ancorself(BAT[void,int], BAT[oid,any], int) : BAT[oid,void]"
]
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins