Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5245

Modified Files:
      Tag: XQuery_0-20
        All 
Added Files:
      Tag: XQuery_0-20
        insert-new-page.SF-1854215.stable.err 
        insert-new-page.SF-1854215.stable.out 
        insert-new-page.SF-1854215.timeout 
        insert-new-page.SF-1854215.xml 
        insert-new-page.SF-1854215.xq.in 
Log Message:
Test for bug 1854215.
This test first creates a document that completely fills one page (that is what 
takes the most time), and then insert one more node at the end.

--- NEW FILE: insert-new-page.SF-1854215.timeout ---
2

Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.80.2.9
retrieving revision 1.80.2.10
diff -u -d -r1.80.2.9 -r1.80.2.10
--- All 14 Dec 2007 20:56:08 -0000      1.80.2.9
+++ All 3 Jan 2008 15:37:14 -0000       1.80.2.10
@@ -141,3 +141,4 @@
 preceding-sibling_failure.SF-1841747-d10
 preceding-sibling_failure.SF-1841747-d0
 preceding_following-sibling_bug.SF-1850772
+insert-new-page.SF-1854215

--- NEW FILE: insert-new-page.SF-1854215.stable.err ---
stderr of test 'insert-new-page.SF-1854215` in directory 'tests/BugTracker` 
itself:


# 16:30:54 >  
# 16:30:54 >   Mserver 
"--config=/ufs/sjoerd/Monet-virgin-stable/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/runtime:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/modules/pftijah:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/lib:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/bin"
 --set 
"gdk_dbfarm=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
 --set 
"sql_logdir=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/sql_logs"
 --set "xquery_logdir=/ufs/sjoerd/src/MonetDB
 /virgin-stable/pathfinder/x86_64-unknown-linux-gnu/xquery_logs" --set 
mapi_open=true --set xrpc_open=true --set mapi_port=35302 --set xrpc_port=47301 
--set monet_prompt= --trace "--dbname=mTests_tests_BugTracker" "--dbinit= 
module(pathfinder);" ; echo ; echo Over..
# 16:30:54 >  


# 16:30:55 >  
# 16:30:55 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=hirundo 
--port=35302 insert-new-page.SF-1854215.xq
# 16:30:55 >  


# 16:32:19 >  
# 16:32:19 >  Done.
# 16:32:19 >  


--- NEW FILE: insert-new-page.SF-1854215.xml ---
<document><foo/></document>

--- NEW FILE: insert-new-page.SF-1854215.stable.out ---
stdout of test 'insert-new-page.SF-1854215` in directory 'tests/BugTracker` 
itself:


# 16:30:54 >  
# 16:30:54 >   Mserver 
"--config=/ufs/sjoerd/Monet-virgin-stable/etc/MonetDB.conf" --debug=10 --set 
"monet_mod_path=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/runtime:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/modules/pftijah:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/lib:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/bin"
 --set 
"gdk_dbfarm=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
 --set 
"sql_logdir=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/sql_logs"
 --set "xquery_logdir=/ufs/sjoerd/src/MonetDB
 /virgin-stable/pathfinder/x86_64-unknown-linux-gnu/xquery_logs" --set 
mapi_open=true --set xrpc_open=true --set mapi_port=35302 --set xrpc_port=47301 
--set monet_prompt= --trace "--dbname=mTests_tests_BugTracker" "--dbinit= 
module(pathfinder);" ; echo ; echo Over..
# 16:30:54 >  



# MonetDB Server v4.20.1
# based on GDK   v1.20.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 32bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.3.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.20.1 loaded
# XRPC administrative console at http://127.0.0.1:47301/admin

printf("\nReady.\n");

Ready.
quit();

Over..

# 16:30:55 >  
# 16:30:55 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=hirundo 
--port=35302 insert-new-page.SF-1854215.xq
# 16:30:55 >  


# 16:32:19 >  
# 16:32:19 >  Done.
# 16:32:19 >  


--- NEW FILE: insert-new-page.SF-1854215.xq.in ---
(: document.xml contains just <document><foo/></document>, i.e. 4
   nodes (including collection and document nodes) :)
pf:add-doc("$TSTSRCDIR/insert-new-page.SF-1854215.xml","document.xml","document.xml",10)
<>
(: insert 16380 (=2*2*3*3*5*7*13) nodes to create a document of 16384
   (= 2**14) nodes (i.e. one complete page) :)
for $i in (: 2*2 :) (1,2,1,2) return
for $j in (: 3*3 :) (1,2,3,1,2,3,1,2,3) return
for $k in (: 5 :) (1,2,3,4,5) return
for $l in (: 7 :) (1,2,3,4,5,6,7) return
do insert (: 13 :) 
<one><two><three/><four/><five/><six/><seven/></two><eight><nine/><ten/><eleven/><twelve/><thirteen/></eight></one>
 into exactly-one(doc("document.xml")/document)
<>
(: insert a node at the end of the document, this requires a new page
   to be appended -- this is where the error being tested for occurs :)
do insert <fail/> into exactly-one(doc("document.xml")/document)
<>
(: clean up :)
pf:del-doc("document.xml")


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to