Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory sc8-pr-cvs16:/tmp/cvs-serv9764

Modified Files:
      Tag: XQuery_0-16
        All 
Added Files:
      Tag: XQuery_0-16
        corrupt_after_update.SF-1706640.stable.err 
        corrupt_after_update.SF-1706640.stable.out 
        corrupt_after_update.SF-1706640_s00.xq.in 
        corrupt_after_update.SF-1706640_s01.xq 
        corrupt_after_update.SF-1706640_s02.xq 
Log Message:
Added test for bug 1706640.

--- NEW FILE: corrupt_after_update.SF-1706640.stable.err ---
stderr of test 'corrupt_after_update.SF-1706640` in directory 
'tests/BugTracker` itself:


# 17:33:06 >  
# 17:33:06 >  Mtimeout -timeout 300 Mserver 
"--config=/ufs/sjoerd/Monet/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/runtime/.libs:/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/runtime:/ufs/sjoerd/src/MonetDB/devel/pathfinder/runtime:/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/modules/pftijah:/ufs/sjoerd/src/MonetDB/devel/pathfinder/modules/pftijah:/ufs/sjoerd/Monet/lib64/MonetDB4:/ufs/sjoerd/Monet/lib64/MonetDB4/lib:/ufs/sjoerd/Monet/lib64/MonetDB4/bin"
 --set "gdk_dbfarm=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/dbfarm" --set 
"sql_logdir=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/sql_logs" --set 
"xquery_logdir=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/xquery_logs" 
--set mapi_port=39869 --set xrpc_port=45897 --set monet_prompt= --trace 
"--dbname=mTests_tests_BugTracker" --dbinit=" module(pathfinder);" ; echo ; 
echo Over..
# 17:33:06 >  


# 17:33:07 >  
# 17:33:07 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=39869 corrupt_after_update.SF-1706640_s00.xq
# 17:33:07 >  


# 17:33:07 >  
# 17:33:07 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=39869 corrupt_after_update.SF-1706640_s01.xq
# 17:33:07 >  


# 17:33:46 >  
# 17:33:46 >  Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb 
-Pmonetdb --host=localhost --port=39869 corrupt_after_update.SF-1706640_s02.xq
# 17:33:46 >  


# 17:33:46 >  
# 17:33:46 >  Done.
# 17:33:46 >  


Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.46.2.6
retrieving revision 1.46.2.7
diff -u -d -r1.46.2.6 -r1.46.2.7
--- All 8 Mar 2007 14:08:58 -0000       1.46.2.6
+++ All 24 Apr 2007 15:37:43 -0000      1.46.2.7
@@ -98,3 +98,4 @@
 conflict_normal_xrpc_queries_nx.SF-1644610
 conflict_normal_xrpc_queries_xn.SF-1644610
 interleave_PUT_GET_crashes_Mserver.SF-1676443
+corrupt_after_update.SF-1706640

--- NEW FILE: corrupt_after_update.SF-1706640_s00.xq.in ---
(pf:add-doc("$TSTSRCDIR/observations_consumer01.xml","observations_consumer01.xml","observations_consumer01.xml",10),
pf:add-doc("$TSTSRCDIR/clusters_consumer01.xml","clusters_consumer01.xml","clusters_consumer01.xml",0))

--- NEW FILE: corrupt_after_update.SF-1706640.stable.out ---
stdout of test 'corrupt_after_update.SF-1706640` in directory 
'tests/BugTracker` itself:


# 17:33:06 >  
# 17:33:06 >  Mtimeout -timeout 300 Mserver 
"--config=/ufs/sjoerd/Monet/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/runtime/.libs:/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/runtime:/ufs/sjoerd/src/MonetDB/devel/pathfinder/runtime:/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/modules/pftijah:/ufs/sjoerd/src/MonetDB/devel/pathfinder/modules/pftijah:/ufs/sjoerd/Monet/lib64/MonetDB4:/ufs/sjoerd/Monet/lib64/MonetDB4/lib:/ufs/sjoerd/Monet/lib64/MonetDB4/bin"
 --set "gdk_dbfarm=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/dbfarm" --set 
"sql_logdir=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/sql_logs" --set 
"xquery_logdir=/ufs/sjoerd/src/MonetDB/devel/pathfinder/Linux/xquery_logs" 
--set mapi_port=39869 --set xrpc_port=45897 --set monet_prompt= --trace 
"--dbname=mTests_tests_BugTracker" --dbinit=" module(pathfinder);" ; echo ; 
echo Over..
# 17:33:06 >  

# Monet Database Server V4.17.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-redhat-linux-gnu/64bit with 32bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# XRPC administrative console at http://localhost:45897/admin

printf("\nReady.\n");

Ready.
quit();

Over..
[...12159 lines suppressed...]
        <pageperminute>46</pageperminute>
      </session>
    </info><prob>1</prob><period prob="0.5" end="1162820659" 
start="1162819694"/></observation><observation 
id="2271"><type>surf.session.byTempInternetFiles</type><references/><info>
      <session>
        <pageperminute>70</pageperminute>
      </session>
    </info><prob>1</prob><period prob="0.5" end="1162824908" 
start="1162824903"/></observation><observation 
id="2272"><type>surf.session.byTempInternetFiles</type><references/><info>
      <session>
        <pageperminute>4</pageperminute>
      </session>
    </info><prob>1</prob><period prob="0.5" end="1162829041" 
start="1162828520"/></observation><observation 
id="2273"><type>surf.session.byTempInternetFiles</type><references/><info>
      <session>
        <pageperminute>136</pageperminute>
      </session>
    </info><prob>1</prob><period prob="0.5" end="1162951233" 
start="1162951219"/></observation></info></observation></info></result></XQueryResult>

# 17:33:46 >  
# 17:33:46 >  Done.
# 17:33:46 >  


--- NEW FILE: corrupt_after_update.SF-1706640_s01.xq ---
for $entity in doc("observations_consumer01.xml")//observation/info/*
for $cluster in doc("clusters_consumer01.xml")//clusters/*
where 
      name($cluster) = name($entity)
and (every $value in $entity/* satisfies 
        fn:exists($cluster/*[name() = name($value)][data(.)=data($value)]))
return 
        if (exists($entity/[EMAIL PROTECTED] = $cluster/@id])) then
                ()
        else
                do insert element { "cluster" } { $cluster/@id } into $entity

--- NEW FILE: corrupt_after_update.SF-1706640_s02.xq ---
doc("observations_consumer01.xml")


-------------------------------------------------------------------------
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

Reply via email to