Update of /cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23183

Modified Files:
      Tag: Nov2009
        All 
Added Files:
      Tag: Nov2009
        leftjoin_undefined.SF-2879011.sql 
        leftjoin_undefined.SF-2879011.stable.err 
        leftjoin_undefined.SF-2879011.stable.out 
Log Message:
adding test for bug 2879011. Fails as reported. Inserted hand-crafted expected 
output.

--- NEW FILE: leftjoin_undefined.SF-2879011.stable.err ---
stderr of test 'leftjoin_undefined.SF-2879011` in directory 
'src/test/BugTracker-2009` itself:


# 16:47:35 >  
# 16:47:35 >   mserver5 
"--config=/home/wouter/opt/MonetDB-Nov2009/etc/monetdb5.conf" --debug=10 --set 
gdk_nr_threads=0 --set 
"monet_mod_path=/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5:/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5/lib:/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/home/wouter/opt/MonetDB-Nov2009/var/MonetDB5/dbfarm"  --set 
mapi_open=true --set xrpc_open=true --set mapi_port=30924 --set xrpc_port=47520 
--set monet_prompt= --trace  "--dbname=mTests_src_test_BugTracker-2009" --set 
mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 16:47:35 >  

# builtin opt   gdk_arch = 64bitx86_64-unknown-linux-gnu
# builtin opt   gdk_version = 1.34.0
# builtin opt   prefix = /home/wouter/opt/MonetDB-Nov2009
# builtin opt   exec_prefix = ${prefix}
# builtin opt   gdk_dbname = tst
# builtin opt   gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt   gdk_debug = 8
# builtin opt   gdk_alloc_map = yes
# builtin opt   gdk_vmtrim = yes
# builtin opt   monet_admin = adm
# builtin opt   monet_prompt = >
# builtin opt   monet_welcome = yes
# builtin opt   monet_mod_path = ${exec_prefix}/lib/MonetDB
# builtin opt   monet_daemon = yes
# builtin opt   host = localhost
# builtin opt   mapi_port = 50000
# builtin opt   mapi_noheaders = no
# builtin opt   mapi_debug = 0
# builtin opt   mapi_clients = 2
# builtin opt   sql_debug = 0
# builtin opt   standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt   standoff_start = start
# builtin opt   standoff_end = end
# config opt    prefix = /home/wouter/opt/MonetDB-Nov2009
# config opt    config = ${prefix}/etc/monetdb5.conf
# config opt    prefix = /home/wouter/opt/MonetDB-Nov2009
# config opt    exec_prefix = ${prefix}
# config opt    gdk_dbfarm = ${prefix}/var/MonetDB5/dbfarm
# config opt    gdk_dbname = demo
# config opt    gdk_alloc_map = no
# config opt    gdk_embedded = no
# config opt    gdk_debug = 0
# config opt    monet_mod_path = 
${exec_prefix}/lib/MonetDB5:${exec_prefix}/lib/MonetDB5/lib:${exec_prefix}/lib/MonetDB5/bin
# config opt    monet_daemon = no
# config opt    monet_welcome = yes
# config opt    mero_msglog = ${prefix}/var/log/MonetDB/merovingian.log
# config opt    mero_errlog = ${prefix}/var/log/MonetDB/merovingian.log
# config opt    mero_pidfile = ${prefix}/var/run/MonetDB/merovingian.pid
# config opt    mero_controlport = 50001
# config opt    mal_init = ${exec_prefix}/lib/MonetDB5/mal_init.mal
# config opt    mal_listing = 2
# config opt    mapi_port = 50000
# config opt    mapi_autosense = false
# config opt    mapi_open = false
# config opt    sql_optimizer = default_pipe
# config opt    default_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# config opt    replication_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,garbageCollector,dataflow,history,replication,multiplex
# config opt    accumulator_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,accumulators,garbageCollector,dataflow,history,multiplex
# config opt    recycler_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,aliases,deadcode,constants,commonTerms,joinPath,deadcode,recycle,reduce,garbageCollector,dataflow,history,multiplex
# config opt    cracker_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,aliases,selcrack,deadcode,constants,commonTerms,joinPath,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# config opt    datacell_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,aliases,deadcode,constants,commonTerms,joinPath,datacell,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# config opt    octopus_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,mitosis,aliases,mergetable,deadcode,constants,commonTerms,joinPath,octopus,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# config opt    mitosis_pipe = 
inline,remap,evaluate,costModel,coercions,emptySet,mitosis,aliases,mergetable,deadcode,constants,commonTerms,joinPath,reorder,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# cmdline opt   config = /home/wouter/opt/MonetDB-Nov2009/etc/monetdb5.conf
# cmdline opt   gdk_nr_threads = 0
# cmdline opt   monet_mod_path = 
/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5:/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5/lib:/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5/bin
# cmdline opt   gdk_dbfarm = 
/home/wouter/opt/MonetDB-Nov2009/var/MonetDB5/dbfarm
# cmdline opt   mapi_open = true
# cmdline opt   xrpc_open = true
# cmdline opt   mapi_port = 30924
# cmdline opt   xrpc_port = 47520
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_src_test_BugTracker-2009
# cmdline opt   mal_listing = 0
#warning: please don't forget to set your vault key!
#(see /home/wouter/opt/MonetDB-Nov2009/etc/monetdb5.conf)

# 16:47:36 >  
# 16:47:36 >  mclient -lsql -i -umonetdb -Pmonetdb --host=localhost 
--port=30924 
# 16:47:36 >  

# 16:47:37 >  
# 16:47:37 >  Done.
# 16:47:37 >  


--- NEW FILE: leftjoin_undefined.SF-2879011.stable.out ---
stdout of test 'leftjoin_undefined.SF-2879011` in directory 
'src/test/BugTracker-2009` itself:


# 16:47:35 >  
# 16:47:35 >   mserver5 
"--config=/home/wouter/opt/MonetDB-Nov2009/etc/monetdb5.conf" --debug=10 --set 
gdk_nr_threads=0 --set 
"monet_mod_path=/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5:/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5/lib:/home/wouter/opt/MonetDB-Nov2009/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/home/wouter/opt/MonetDB-Nov2009/var/MonetDB5/dbfarm"  --set 
mapi_open=true --set xrpc_open=true --set mapi_port=30924 --set xrpc_port=47520 
--set monet_prompt= --trace  "--dbname=mTests_src_test_BugTracker-2009" --set 
mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 16:47:35 >  

# MonetDB server v5.16.0, based on kernel v1.34.0
# Serving database 'mTests_src_test_BugTracker-2009', using 1 thread
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
# Detected 1.966 GiB (2110795776 bytes) main-memory.
# Copyright (c) 1993-July 2008 CWI.
# Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on 
mapi:monetdb://localhost.localdomain:30924/
# MonetDB/SQL module v2.34.0 loaded

Ready.
#function user.main():void;
#    clients.quit();
#end main;

Over..

# 16:47:36 >  
# 16:47:36 >  mclient -lsql -i -umonetdb -Pmonetdb --host=localhost 
--port=30924 
# 16:47:36 >  

[ 2     ]
[ 2     ]

% sys.tmp,        sys.tmp # table_name
% x,    y # name
% varchar,      varchar # type
% 1,    1 # length
[ "a",  "a"     ]
[ "b",  "b"     ]

# 16:47:37 >  
# 16:47:37 >  Done.
# 16:47:37 >  


Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/All,v
retrieving revision 1.51.2.15
retrieving revision 1.51.2.16
diff -u -d -r1.51.2.15 -r1.51.2.16
--- All 13 Nov 2009 07:35:15 -0000      1.51.2.15
+++ All 15 Nov 2009 15:54:09 -0000      1.51.2.16
@@ -114,6 +114,7 @@
 unique_constraint_on_char.SF-2873564
 and_and_or_type_exception.SF-2896012
 orderby_with_row_number.SF-2895791
+leftjoin_undefined.SF-2879011
 #
 # The following test currently crashes and this fact (or its remains) might
 # harm sub-sequent tests; hence, this test should be last in this directory.

--- NEW FILE: leftjoin_undefined.SF-2879011.sql ---
CREATE TABLE a (name VARCHAR(10));
CREATE TABLE b (name VARCHAR(10));
INSERT INTO a VALUES ('a'),('b');
INSERT INTO b VALUES ('a'),('b');
SELECT a.name as x, b.name as y FROM a,b WHERE a.name LIKE b.name;


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to