Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv25309

Modified Files:
      Tag: May2009
        All 
Added Files:
      Tag: May2009
        child-step-empty-node.SF-2815716.stable.err 
        child-step-empty-node.SF-2815716.stable.out 
        child-step-empty-node.SF-2815716.xq 
Log Message:
Test for bug 2815716: Creating element without children crashes server.

--- NEW FILE: child-step-empty-node.SF-2815716.stable.out ---
stdout of test 'child-step-empty-node.SF-2815716` in directory 
'tests/BugTracker` itself:


# 16:52:02 >  
# 16:52:02 >   Mserver 
"--config=/ufs/sjoerd/Monet-virgin-stable/etc/MonetDB.conf" --debug=10 --set 
gdk_nr_threads=1 --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/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/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 
"xrpc_docroot=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/runtime/xrpc" 
--set mapi_open=true --set xrpc_open=true --set mapi_port=38018 --set 
xrpc_port=41765 --set monet_prompt= --trace  "--dbname=mTests_tests_BugTracker" 
"--dbinit= module(pathfinder);" ; echo ; echo Over..
# 16:52:02 >  

# MonetDB Server v4.30.3
# based on GDK   v1.30.3
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit 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:41765/admin

printf("\nReady.\n");

Ready.
quit();

Over..

# 16:52:02 >  
# 16:52:02 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=ottar 
--port=38018 child-step-empty-node.SF-2815716.xq
# 16:52:02 >  

<?xml version="1.0" encoding="utf-8"?>
<XQueryResult></XQueryResult>

# 16:52:03 >  
# 16:52:03 >  Done.
# 16:52:03 >  


U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.136.4.7
retrieving revision 1.136.4.8
diff -u -d -r1.136.4.7 -r1.136.4.8
--- All 19 Jun 2009 09:08:40 -0000      1.136.4.7
+++ All 6 Jul 2009 14:54:06 -0000       1.136.4.8
@@ -208,3 +208,4 @@
 # Test "Zombie_document.SF-2009556" currently seems to corrupt the database 
and hence should be last in this list! 
 Zombie_document.SF-2009556
 # Test "Zombie_document.SF-2009556" currently seems to corrupt the database 
and hence should be last in this list!
+child-step-empty-node.SF-2815716

--- NEW FILE: child-step-empty-node.SF-2815716.xq ---
let $doc := <root><field/></root>
return <foo>{$doc//field/string()}</foo>/*

--- NEW FILE: child-step-empty-node.SF-2815716.stable.err ---
stderr of test 'child-step-empty-node.SF-2815716` in directory 
'tests/BugTracker` itself:


# 16:52:02 >  
# 16:52:02 >   Mserver 
"--config=/ufs/sjoerd/Monet-virgin-stable/etc/MonetDB.conf" --debug=10 --set 
gdk_nr_threads=1 --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/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/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 
"xrpc_docroot=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/runtime/xrpc" 
--set mapi_open=true --set xrpc_open=true --set mapi_port=38018 --set 
xrpc_port=41765 --set monet_prompt= --trace  "--dbname=mTests_tests_BugTracker" 
"--dbinit= module(pathfinder);" ; echo ; echo Over..
# 16:52:02 >  


# 16:52:02 >  
# 16:52:02 >  mclient -lxquery -fxml -umonetdb -Pmonetdb --host=ottar 
--port=38018 child-step-empty-node.SF-2815716.xq
# 16:52:02 >  


# 16:52:03 >  
# 16:52:03 >  Done.
# 16:52:03 >  



------------------------------------------------------------------------------
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to