Update of /cvsroot/monetdb/pathfinder/modules/pftijah/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3998/modules/pftijah/Tests
Modified Files:
Tag: Aug2009
All
Added Files:
Tag: Aug2009
test_comp_tokenize.stable.err test_comp_tokenize.stable.out
test_comp_tokenize.xq
Log Message:
* fix [ monetdb-Bugs-2863458 ] PF/TIJAH: tokenize in a for-loop
The pin count of the tokenize operation result bats was always set to 1 but
should have been set to the number of times the operand is used by other
operations.
--- NEW FILE: test_comp_tokenize.xq ---
let $query := tijah:tokenize(fn:string("aap beer noot"))
return fn:string-length($query)
<>
for $n in (1,2)
let $query := tijah:tokenize(fn:string("aap beer noot"))
let $len := fn:string-length($query)
return ($len)
--- NEW FILE: test_comp_tokenize.stable.out ---
stdout of test 'test_comp_tokenize` in directory 'modules/pftijah` itself:
# 12:16:42 >
# 12:16:42 > Mserver "--config=/local/flokstra/install/etc/MonetDB.conf"
--debug=10 --set gdk_nr_threads=1 --set
"monet_mod_path=/local/flokstra/install/lib/MonetDB4:/local/flokstra/install/lib/MonetDB4/lib:/local/flokstra/install/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/flokstra/install/var/MonetDB4/dbfarm" --set
mapi_open=true --set xrpc_open=true --set mapi_port=31857 --set xrpc_port=43810
--set monet_prompt= --trace "--dbname=mTests_modules_pftijah" "--dbinit=
module(pathfinder);" ; echo ; echo Over..
# 12:16:42 >
# MonetDB Server v4.32.1
# based on GDK v1.32.1
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-suse-linux/64bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.13.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.28.3 loaded (default back-end is 'algebra')
# XRPC administrative console at http://127.0.0.1:43810/admin
printf("\nReady.\n");
Ready.
quit();
Over..
# 12:16:42 >
# 12:16:42 > mclient -lxquery -fxml -umonetdb -Pmonetdb --host=ewi865
--port=31857 test_comp_tokenize.xq
# 12:16:42 >
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult>13</XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult>13 13</XQueryResult>
# 12:16:43 >
# 12:16:43 > Done.
# 12:16:43 >
U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/Tests/All,v
retrieving revision 1.11.22.2
retrieving revision 1.11.22.3
diff -u -d -r1.11.22.2 -r1.11.22.3
--- All 15 Sep 2009 15:28:00 -0000 1.11.22.2
+++ All 22 Sep 2009 10:22:30 -0000 1.11.22.3
@@ -34,4 +34,5 @@
test_bug2836870
load_bug2831472
test_bug2831472
+test_comp_tokenize
cleanup
--- NEW FILE: test_comp_tokenize.stable.err ---
stderr of test 'test_comp_tokenize` in directory 'modules/pftijah` itself:
# 12:16:42 >
# 12:16:42 > Mserver "--config=/local/flokstra/install/etc/MonetDB.conf"
--debug=10 --set gdk_nr_threads=1 --set
"monet_mod_path=/local/flokstra/install/lib/MonetDB4:/local/flokstra/install/lib/MonetDB4/lib:/local/flokstra/install/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/flokstra/install/var/MonetDB4/dbfarm" --set
mapi_open=true --set xrpc_open=true --set mapi_port=31857 --set xrpc_port=43810
--set monet_prompt= --trace "--dbname=mTests_modules_pftijah" "--dbinit=
module(pathfinder);" ; echo ; echo Over..
# 12:16:42 >
# 12:16:42 >
# 12:16:42 > mclient -lxquery -fxml -umonetdb -Pmonetdb --host=ewi865
--port=31857 test_comp_tokenize.xq
# 12:16:42 >
# 12:16:43 >
# 12:16:43 > Done.
# 12:16:43 >
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins