Update of /cvsroot/monetdb/sql/src/test/bugs/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25651/src/test/bugs/Tests
Modified Files:
All
Added Files:
aggr_single_value.sql aggr_single_value.stable.err
aggr_single_value.stable.out
Log Message:
propagated changes of Friday Jun 13 2008 - Monday Jun 16 2008
from the SQL_2-24 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/13 - nielsnes: src/test/bugs/Tests/All,1.112.2.5
src/test/bugs/Tests/aggr_single_value.sql,1.1.2.1
src/test/bugs/Tests/aggr_single_value.stable.err,1.1.2.1
src/test/bugs/Tests/aggr_single_value.stable.out,1.1.2.1
add test for bug in handling aggregates on single values
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/13 - nielsnes: src/server/rel_bin.mx,1.42.2.2
src/server/sql_parser.mx,1.283.2.1 src/server/sql_select.mx,1.231.2.6
fix bug in handling aggregates over single values
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/14 - romulog:
src/test/BugTracker/Tests/nested_views_algebra_version.SF-1993765.sql,1.1.2.1
Add test for the open bug...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/14 - romulog: src/test/BugTracker/Tests/All,1.93.2.11
Activate it for testing...
nested_views_algebra_version.SF-1993765
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/16 - nielsnes:
src/test/BugTracker/Tests/nested_views_algebra_version.SF-1993765.stable.err,1.1.2.1
src/test/BugTracker/Tests/nested_views_algebra_version.SF-1993765.stable.out,1.1.2.1
adding stable output
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- NEW FILE: aggr_single_value.stable.err ---
stderr of test 'aggr_single_value` in directory 'src/test/bugs` itself:
# 19:26:22 >
# 19:26:22 > mserver5
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10
--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 "sql_logdir=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/sql_logs"
--set mapi_open=true --set xrpc_open=true --set mapi_port=35679 --set
xrpc_port=47992 --set monet_prompt= --trace "--dbname=mTests_src_test_bugs"
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 19:26:22 >
# builtin opt gdk_arch = 64bitx86_64-unknown-linux-gnu
# builtin opt gdk_version = 1.24.0
# builtin opt monet_pid = 27561
# 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_mem_bigsize = 262144
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_mem_pagebits = 14
# 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:${exec_prefix}/lib/bin
# 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 = ${prefix}/var/MonetDB/sql_logs
# builtin opt xquery_logdir = ${prefix}/var/MonetDB/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/merovingian.log
# config opt mero_errlog = ${prefix}/var/log/merovingian.log
# config opt mero_timeinterval = 600
# config opt mero_pidfile = ${prefix}/var/run/merovingian.pid
# config opt mero_exittimeout = 7
# config opt mero_doproxy = yes
# config opt mero_discoveryttl = 600
# config opt mal_init = ${exec_prefix}/lib/MonetDB5/mal_init.mal
# config opt mal_listing = 15
# config opt checkpoint_dir = ${prefix}/var/MonetDB5/chkpnt
# config opt mapi_port = 50000
# config opt mapi_open = false
# config opt sql_debug = 0
# config opt sql_logdir = ${prefix}/var/MonetDB5/sql_logs
# config opt sql_init = ${exec_prefix}/lib/MonetDB5/sql_init.sql
# cmdline opt config = /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf
# 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 sql_logdir =
/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/sql_logs
# cmdline opt mapi_open = true
# cmdline opt xrpc_open = true
# cmdline opt mapi_port = 35679
# cmdline opt xrpc_port = 47992
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_src_test_bugs
# cmdline opt mal_listing = 0
# cmdline opt gdk_debug = 10
#warning: please don't forget to set your vault key!
#(see /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf)
# 19:26:22 >
# 19:26:22 > mclient -lsql -umonetdb -Pmonetdb --host=alf --port=35679
# 19:26:22 >
# 19:26:22 >
# 19:26:22 > Done.
# 19:26:22 >
--- NEW FILE: aggr_single_value.stable.out ---
stdout of test 'aggr_single_value` in directory 'src/test/bugs` itself:
# 19:26:22 >
# 19:26:22 > mserver5
"--config=/ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf" --debug=10
--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 "sql_logdir=/ufs/niels/scratch/rc/Linux-x86_64/var/MonetDB5/sql_logs"
--set mapi_open=true --set xrpc_open=true --set mapi_port=35679 --set
xrpc_port=47992 --set monet_prompt= --trace "--dbname=mTests_src_test_bugs"
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 19:26:22 >
# MonetDB server v5.6.0, based on kernel v1.24.0
# Serving database 'mTests_src_test_bugs'
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-2008 CWI, all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://alf.ins.cwi.nl:35679/
# MonetDB/SQL module v2.24.0 loaded
Ready.
#function user.main():void;
# clients.quit();
#end main;
Over..
# 19:26:22 >
# 19:26:22 > mclient -lsql -umonetdb -Pmonetdb --host=alf --port=35679
# 19:26:22 >
% . # table_name
% single_value # name
% int # type
% 1 # length
[ 1 ]
% . # table_name
% count_no_nil_single_value # name
% int # type
% 1 # length
[ 1 ]
% . # table_name
% count_no_nil_single_value # name
% int # type
% 1 # length
[ 0 ]
% . # table_name
% avg_single_value # name
% double # type
% 22 # length
[ 1 ]
% . # table_name
% avg_single_value # name
% double # type
% 22 # length
[ NULL ]
% . # table_name
% sum_single_value # name
% smallint # type
% 1 # length
[ 1 ]
% . # table_name
% sum_single_value # name
% bigint # type
% 20 # length
[ NULL ]
% . # table_name
% max_single_value # name
% tinyint # type
% 1 # length
[ 1 ]
% . # table_name
% max_single_value # name
% int # type
% 11 # length
[ NULL ]
% . # table_name
% min_single_value # name
% tinyint # type
% 1 # length
[ 1 ]
% . # table_name
% min_single_value # name
% int # type
% 11 # length
[ NULL ]
# 19:26:22 >
# 19:26:22 > Done.
# 19:26:22 >
Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/bugs/Tests/All,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- All 11 Jun 2008 21:38:23 -0000 1.116
+++ All 16 Jun 2008 09:23:29 -0000 1.117
@@ -91,3 +91,4 @@
distinct_count
div_zero_bug
order_limit_offset_bug
+aggr_single_value
--- NEW FILE: aggr_single_value.sql ---
SELECT count(*);
SELECT count(1);
SELECT count(NULL);
SELECT avg(1);
SELECT avg(cast (NULL as int));
SELECT sum(1);
SELECT sum(cast (NULL as int));
SELECT max(1);
SELECT max(cast (NULL as int));
SELECT min(1);
SELECT min(cast (NULL as int));
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins