Update of /cvsroot/monetdb/pathfinder/runtime/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29250/runtime/Tests
Modified Files:
All
Added Files:
pf_pow.stable.err pf_pow.stable.out pf_pow.xq
Log Message:
Added function pf:pow (calculates power function; not in XQuery functions and
operators)
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/Tests/All,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- All 24 May 2007 09:59:10 -0000 1.24
+++ All 24 May 2007 11:37:08 -0000 1.25
@@ -37,3 +37,4 @@
pf_docname
pf_log
pf_sqrt
+pf_pow
--- NEW FILE: pf_pow.stable.out ---
stdout of test 'pf_pow` in directory 'runtime` itself:
# 13:31:52 >
# 13:31:52 > Mtimeout -timeout 180 Mserver
"--config=/local/keulen/Software/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/keulen/Software/MonetDB/lib/MonetDB4:/local/keulen/Software/MonetDB/lib/MonetDB4/lib:/local/keulen/Software/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/keulen/Software/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/keulen/Software/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/keulen/Software/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=30462 --set xrpc_port=41882 --set monet_prompt= --trace
"--dbname=mTests_runtime" --dbinit=" module(pathfinder);" ; echo ; echo Over..
# 13:31:52 >
# Monet Database Server V4.17.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked.
# Visit http://monetdb.cwi.nl/ for further information.
# XRPC administrative console at http://localhost:41882/admin
printf("\nReady.\n");
Ready.
quit();
Over..
# 13:31:52 >
# 13:31:52 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=30462 pf_pow.xq
# 13:31:52 >
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult>inf inf inf 1.000000 0.000000 0.000000 0.000000 2.281109 1.581139
1.442700 1.000000 0.693145 0.632456 0.438383 1.866066 1.414214 1.319508
1.000000 0.757858 0.707107 0.535887 1.099466 1.054093 1.043045 1.000000
0.958732 0.948683 0.909533 11.521534</XQueryResult>
# 13:31:52 >
# 13:31:52 > Done.
# 13:31:52 >
--- NEW FILE: pf_pow.xq ---
(
for $a in (0.0, 0.4, 0.5, 0.9)
for $b in (-0.9, -0.5, -0.4, 0.0, 0.4, 0.5, 0.9)
return pf:pow($a,$b),
pf:pow(2.2,3.1)
)
--- NEW FILE: pf_pow.stable.err ---
stderr of test 'pf_pow` in directory 'runtime` itself:
# 13:31:52 >
# 13:31:52 > Mtimeout -timeout 180 Mserver
"--config=/local/keulen/Software/MonetDB/etc/MonetDB.conf" --debug=10 --set
"monet_mod_path=/local/keulen/Software/MonetDB/lib/MonetDB4:/local/keulen/Software/MonetDB/lib/MonetDB4/lib:/local/keulen/Software/MonetDB/lib/MonetDB4/bin"
--set "gdk_dbfarm=/local/keulen/Software/MonetDB/var/MonetDB4/dbfarm" --set
"sql_logdir=/local/keulen/Software/MonetDB/var/MonetDB4/sql_logs" --set
"xquery_logdir=/local/keulen/Software/MonetDB/var/MonetDB4/xquery_logs" --set
mapi_port=30462 --set xrpc_port=41882 --set monet_prompt= --trace
"--dbname=mTests_runtime" --dbinit=" module(pathfinder);" ; echo ; echo Over..
# 13:31:52 >
# 13:31:52 >
# 13:31:52 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=30462 pf_pow.xq
# 13:31:52 >
# 13:31:52 >
# 13:31:52 > Done.
# 13:31:52 >
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins