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

Modified Files:
      Tag: Aug2009
        All 
Added Files:
      Tag: Aug2009
        except_error_wrong.SF-2808409.sql 
        except_error_wrong.SF-2808409.stable.err 
        except_error_wrong.SF-2808409.stable.out 
Log Message:
added test for bug in except error message


--- NEW FILE: except_error_wrong.SF-2808409.sql ---
create table kvk (kvk bigint, bedrijfsnaam varchar(255), adres varchar(64), 
postcode varchar(6), plaats varchar(32), type varchar(16));
create table anbi (naam varchar(256), vestigingsplaats varchar(32), beschikking 
timestamp, intrekking timestamp);

select naam, vestigingsplaats, beschikking from anbi except select naam, 
vestigingsplaats, beschikking from anbi, kvk where lower(naam) = 
lower(bedrijfsnaam) and lower(plaats) = lower(vestigingsplaats);
select naam, vestigingsplaats from anbi except select naam, vestigingsplaats, 
beschikking from anbi, kvk where lower(naam) = lower(bedrijfsnaam) and 
lower(plaats) = lower(vestigingsplaats);

drop table kvk;
drop table anbi;

U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/BugTracker-2009/Tests/All,v
retrieving revision 1.37.2.9
retrieving revision 1.37.2.10
diff -u -d -r1.37.2.9 -r1.37.2.10
--- All 7 Aug 2009 14:26:21 -0000       1.37.2.9
+++ All 7 Aug 2009 15:23:12 -0000       1.37.2.10
@@ -81,3 +81,4 @@
 assert_in_update.SF-2807336
 prepare_commit_execute.SF-2606020
 ambiguous_order_by.SF-2827916
+except_error_wrong.SF-2808409

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


# 17:04:37 >  
# 17:04:37 >   mserver5 
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10 
--set gdk_nr_threads=0 --set 
"monet_mod_path=/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm"    
--set mapi_open=true --set xrpc_open=true --set mapi_port=34789 --set 
xrpc_port=40384 --set monet_prompt= --trace  
"--dbname=mTests_src_test_BugTracker-2009" --set mal_listing=0 "--dbinit= 
include sql;" ; echo ; echo Over..
# 17:04:37 >  

# MonetDB server v5.14.0, based on kernel v1.32.0
# Serving database 'mTests_src_test_BugTracker-2009', using 4 threads
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
# 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://alf.ins.cwi.nl:34789/
# MonetDB/SQL module v2.32.0 loaded

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

Over..

# 17:04:37 >  
# 17:04:37 >  mclient -lsql -umonetdb -Pmonetdb --host=alf --port=34789 
# 17:04:37 >  

% sys.anbi,     sys.anbi,       sys.anbi # table_name
% naam, vestigingsplaats,       beschikking # name
% varchar,      varchar,        timestamp # type
% 0,    0,      26 # length

# 17:04:37 >  
# 17:04:37 >  Done.
# 17:04:37 >  


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


# 17:04:37 >  
# 17:04:37 >   mserver5 
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10 
--set gdk_nr_threads=0 --set 
"monet_mod_path=/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm"    
--set mapi_open=true --set xrpc_open=true --set mapi_port=34789 --set 
xrpc_port=40384 --set monet_prompt= --trace  
"--dbname=mTests_src_test_BugTracker-2009" --set mal_listing=0 "--dbinit= 
include sql;" ; echo ; echo Over..
# 17:04:37 >  

# builtin opt   gdk_arch = 64bitx86_64-unknown-linux-gnu
# builtin opt   gdk_version = 1.32.0
# builtin opt   prefix = /ufs/niels/scratch/rc/Linux-x86_64
# 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   sql_logdir = sql_logs
# builtin opt   xquery_logdir = xquery_logs
# builtin opt   standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt   standoff_start = start
# builtin opt   standoff_end = end
# config opt    prefix = /ufs/niels/scratch/rc/Linux-x86_64
# config opt    config = ${prefix}/etc/monetdb5.conf
# config opt    prefix = /ufs/niels/scratch/rc/Linux-x86_64
# 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    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 = 
inline,remap,evaluate,costModel,coercions,emptySet,cluster,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# cmdline opt   config = /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf
# cmdline opt   gdk_nr_threads = 0
# cmdline opt   monet_mod_path = 
/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/rc/Linux-x86_64/lib/MonetDB5/bin
# cmdline opt   gdk_dbfarm = 
/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/dbfarm
# cmdline opt   mapi_open = true
# cmdline opt   xrpc_open = true
# cmdline opt   mapi_port = 34789
# cmdline opt   xrpc_port = 40384
# 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 /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf)

# 17:04:37 >  
# 17:04:37 >  mclient -lsql -umonetdb -Pmonetdb --host=alf --port=34789 
# 17:04:37 >  

MAPI  = mone...@alf:34789
QUERY = select naam, vestigingsplaats from anbi except select naam, 
vestigingsplaats, beschikking from anbi, kvk where lower(naam) = 
lower(bedrijfsnaam) and lower(plaats) = lower(vestigingsplaats);
ERROR = !EXCEPT: column counts (2 and 3) do not match

# 17:04:37 >  
# 17:04:37 >  Done.
# 17:04:37 >  



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