Update of /cvsroot/monetdb/sql/src/test/bugs/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31611/src/test/bugs/Tests

Modified Files:
        All 
        subselect_ambigious_columns-bug-sf-949071.stable.out.Algebra 
Added Files:
        div_zero_bug.sql div_zero_bug.stable.err 
        div_zero_bug.stable.out 
        subselect_ambigious_columns-bug-sf-949071.stable.out.Five.Algebra 
Log Message:
propagated changes of Friday Jun 06 2008 - Tuesday Jun 10 2008
from the SQL_2-24 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/06 - romulog: src/test/Skyserver/Skyserver_dropFunctions_v6.sql,1.1.2.6
        src/test/Skyserver/Skyserver_functions_v6.sql,1.1.2.8
Add missing function:

fGetUrlFitsSpectrum
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/06 - romulog: src/test/Skyserver/Skyserver_dropFunctions_v6.sql,1.1.2.7
        src/test/Skyserver/Skyserver_functions_v6.sql,1.1.2.9
Add missing function:
fGetNearestObjAllEq
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/06 - nielsnes:
        
src/test/bugs/Tests/subselect_ambigious_columns-bug-sf-949071.stable.out.Algebra,1.1.2.2
        
src/test/bugs/Tests/subselect_ambigious_columns-bug-sf-949071.stable.out.Five.Algebra,1.1.2.1
added algebra specific output
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/08 - romulog: src/test/Skyserver/Skyserver_functions_v6.sql,1.1.2.10
Correct the function to avoid errors...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/09 - nielsnes: src/test/bugs/Tests/All,1.112.2.3
        src/test/bugs/Tests/div_zero_bug.sql,1.1.2.1
        src/test/bugs/Tests/div_zero_bug.stable.err,1.1.2.1
        src/test/bugs/Tests/div_zero_bug.stable.out,1.1.2.1
added test for bug in avg() NULL handling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/06/09 - stmane: MonetDB-SQL.spec.in,1.63.2.3
For convenience of both developers and users as well as to comply even more
with open source standards, we now set/use the following defaults for the
configure options
     --enable-strict, --enable-assert, --enable-debug, --enable-optimize

(Unless specified differently, the same defaults are used for both the
 "Stable" release branches and the "Current" development trunk.)


When compiling from CVS sources
(as mainly done by developers):
        strict=yes  assert=yes  debug=yes  optimize=no (*)

When compiling from packaged/distributed sources (i.e., tarballs)
(as mainly done by users):
        strict=no   assert=no   debug=no   optimize=no (*)

For building binary distributions (RPMs, MSIs):
        strict=no   assert=no   debug=no   optimize=yes

With nightly testing for the "Stable" release branches:
        strict=yes  assert=no   debug=no   optimize=yes

With nightly testing for the "Current" development trunk:
        strict=yes  assert=yes  debug=no   optimize=yes


(*)
IMPORTANT NOTE:
Since "--enable-optimize=yes" is no longer the default for any case except
binary packages, it is *strongly recommended* to (re)compile everything from
scratch, *explicitly configured* with
        "--enable-debug=no --enable-optimize=yes",
in case you want/need to run any performance experiments with MonetDB!


(Please note:
 "--enable-X=yes" is equivalent to "--enable-X", and
 "--enable-X=no"  is equivalent to "--disable-X".)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/bugs/Tests/All,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -d -r1.114 -r1.115
--- All 5 Jun 2008 09:25:38 -0000       1.114
+++ All 10 Jun 2008 08:34:11 -0000      1.115
@@ -89,3 +89,4 @@
 blob_not_null
 select_into
 distinct_count
+div_zero_bug

--- NEW FILE: div_zero_bug.stable.err ---
stderr of test 'div_zero_bug` in directory 'src/test/bugs` itself:


# 10:37:51 >  
# 10:37:51 >   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=35791 --set 
xrpc_port=47966 --set monet_prompt= --trace  "--dbname=mTests_src_test_bugs" 
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 10:37:51 >  

# builtin opt   gdk_arch = 64bitx86_64-unknown-linux-gnu
# builtin opt   gdk_version = 1.24.0
# builtin opt   monet_pid = 15968
# 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 = 35791
# cmdline opt   xrpc_port = 47966
# 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)

# 10:37:51 >  
# 10:37:51 >  mclient -lsql -umonetdb -Pmonetdb --host=alf --port=35791 
# 10:37:51 >  


# 10:37:51 >  
# 10:37:51 >  Done.
# 10:37:51 >  


Index: subselect_ambigious_columns-bug-sf-949071.stable.out.Algebra
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/bugs/Tests/subselect_ambigious_columns-bug-sf-949071.stable.out.Algebra,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- subselect_ambigious_columns-bug-sf-949071.stable.out.Algebra        5 Jun 
2008 09:25:41 -0000       1.2
+++ subselect_ambigious_columns-bug-sf-949071.stable.out.Algebra        10 Jun 
2008 08:34:24 -0000      1.3
@@ -13,10 +13,10 @@
 # Listening for connection requests on mapi:monetdb://rig.ins.cwi.nl:35075/
 # MonetDB/SQL module v2.24.0 loaded
 
+printf("\nReady.\n");
+
 Ready.
-#function user.main():void;
-#    clients.quit();
-#end main;
+quit();
 
 Over..
 
@@ -41,15 +41,15 @@
 % name # name
 % varchar # type
 % 10 # length
-[ "functions"  ]
 [ "args"       ]
-[ "sequences"  ]
-[ "keys"       ]
+[ "functions"  ]
 [ "idxs"       ]
-[ "keycolumns" ]
-[ "keys"       ]
 [ "idxs"       ]
 [ "keycolumns" ]
+[ "keycolumns" ]
+[ "keys"       ]
+[ "keys"       ]
+[ "sequences"  ]
 
 # 21:42:22 >  
 # 21:42:22 >  Done.

--- NEW FILE: div_zero_bug.stable.out ---
stdout of test 'div_zero_bug` in directory 'src/test/bugs` itself:


# 10:37:51 >  
# 10:37:51 >   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=35791 --set 
xrpc_port=47966 --set monet_prompt= --trace  "--dbname=mTests_src_test_bugs" 
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 10:37:51 >  

# 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:35791/
# MonetDB/SQL module v2.24.0 loaded

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

Over..

# 10:37:51 >  
# 10:37:51 >  mclient -lsql -umonetdb -Pmonetdb --host=alf --port=35791 
# 10:37:51 >  

[ 1     ]
[ 1     ]
[ 1     ]
[ 1     ]
% sys.div_zero_bug,     sys.div_zero_bug # table_name
% grp,  avg_value # name
% int,  double # type
% 1,    22 # length
[ NULL, 1       ]
[ 0,    NULL    ]
[ 1,    NULL    ]

# 10:37:51 >  
# 10:37:51 >  Done.
# 10:37:51 >  


--- NEW FILE: subselect_ambigious_columns-bug-sf-949071.stable.out.Five.Algebra 
---
stdout of test 'subselect_ambigious_columns-bug-sf-949071` in directory 
'src/test/bugs` itself:


# 17:37:34 >  
# 17:37:34 >   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=33228 --set 
xrpc_port=46938 --set monet_prompt= --trace  "--dbname=mTests_src_test_bugs" 
--set sql_debug=16384 --set xquery_backend=algebra --set mal_listing=0 
"--dbinit= include sql;" ; echo ; echo Over..
# 17:37:34 >  

# 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:33228/
# MonetDB/SQL module v2.24.0 loaded

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

Over..

# 11:55:31 >  
# 11:55:31 >  Mtimeout -timeout 60 MapiClient -lsql -umonetdb -Pmonetdb 
--host=localhost --port=35185  < subselect_ambigious_columns-bug-sf-949071.sql
# 11:55:31 >  

% sys.tables # table_name
% name # name
% varchar # type
% 10 # length
[ "args"        ]
[ "functions"   ]
[ "idxs"        ]
[ "idxs"        ]
[ "keycolumns"  ]
[ "keycolumns"  ]
[ "keys"        ]
[ "keys"        ]
[ "sequences"   ]
% sys.tables # table_name
% name # name
% varchar # type
% 10 # length
[ "functions"   ]
[ "args"        ]
[ "sequences"   ]
[ "keys"        ]
[ "idxs"        ]
[ "keycolumns"  ]
[ "keys"        ]
[ "idxs"        ]
[ "keycolumns"  ]

# 21:42:22 >  
# 21:42:22 >  Done.
# 21:42:22 >  


--- NEW FILE: div_zero_bug.sql ---
create table div_zero_bug (grp int, value int);

insert into div_zero_bug values( NULL, 1);
insert into div_zero_bug values( NULL, 1);
insert into div_zero_bug values( 0, NULL);
insert into div_zero_bug values( 1, NULL);

select grp, avg(value) from div_zero_bug group by grp;

drop table div_zero_bug;


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

Reply via email to