Update of /cvsroot/monetdb/sql/src/test/BugTracker/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3580
Modified Files:
Tag: SQL_2-22
All
Added Files:
Tag: SQL_2-22
table_function_column_crash.SF-1913572.sql
table_function_column_crash.SF-1913572.stable.err
table_function_column_crash.SF-1913572.stable.out
Log Message:
added test script and stable output
for bug 1913572 column from a table function
--- NEW FILE: table_function_column_crash.SF-1913572.stable.out ---
stdout of test 'table_function_column_crash.SF-1913572` in directory
'src/test/BugTracker` itself:
# 09:16:15 >
# 09:16:15 > 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=34401 --set
xrpc_port=49407 --set monet_prompt= --trace
"--dbname=mTests_src_test_BugTracker" --set mal_listing=0 "--dbinit= include
sql;" ; echo ; echo Over..
# 09:16:15 >
# MonetDB server v5.4.0, based on kernel v1.22.0
# Serving database 'mTests_src_test_BugTracker'
# 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://koala.ins.cwi.nl:34401/
# MonetDB/SQL module v2.22.0 loaded
Ready.
#function user.main():void;
# clients.quit();
#end main;
Over..
# 09:16:15 >
# 09:16:15 > mclient -lsql -umonetdb -Pmonetdb --host=koala --port=34401
# 09:16:15 >
% sys.s, .n, .n, .n, .n, .n, .n, .n, .n,
.n, .n, .n # table_name
% objid, objid, run, camcol, field, rerun, type, cx, cy,
cz, htmid, distance # name
% bigint, bigint, int, int, int, int, int, double, double,
double, bigint, double # type
% 1, 1, 1, 1, 1, 1, 1, 22, 22, 22,
1, 22 # length
# 09:16:15 >
# 09:16:15 > Done.
# 09:16:15 >
Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/BugTracker/Tests/All,v
retrieving revision 1.80.2.9
retrieving revision 1.80.2.10
diff -u -d -r1.80.2.9 -r1.80.2.10
--- All 21 Mar 2008 08:00:45 -0000 1.80.2.9
+++ All 21 Mar 2008 08:18:35 -0000 1.80.2.10
@@ -113,3 +113,4 @@
sql_prepare_prob.SF-1909638
BETWEEN_error.SF-1911991
count_crash.SF-1918780
+table_function_column_crash.SF-1913572
--- NEW FILE: table_function_column_crash.SF-1913572.sql ---
CREATE FUNCTION fGetNearbyObjEq (ra float, decim float, r float)
RETURNS TABLE (
objID bigint,
run int ,
camcol int ,
field int ,
rerun int ,
type int ,
cx float ,
cy float ,
cz float ,
htmID bigint,
distance float -- distance in arc minutes
)
BEGIN
DECLARE TABLE proxtab (
objID bigint,
run int ,
camcol int ,
field int ,
rerun int ,
type int ,
cx float ,
cy float ,
cz float ,
htmID bigint,
distance float -- distance in arc minutes
);
RETURN proxtab;
END;
create table t1913572 (objID bigint NULL);
SELECT * FROM t1913572 s, fGetNearbyObjEq(20.925,1.67,29.4) n WHERE
s.objID=n.objID;
drop function fGetNearbyObjEq;
drop table t1913572;
--- NEW FILE: table_function_column_crash.SF-1913572.stable.err ---
stderr of test 'table_function_column_crash.SF-1913572` in directory
'src/test/BugTracker` itself:
# 09:16:15 >
# 09:16:15 > 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=34401 --set
xrpc_port=49407 --set monet_prompt= --trace
"--dbname=mTests_src_test_BugTracker" --set mal_listing=0 "--dbinit= include
sql;" ; echo ; echo Over..
# 09:16:15 >
#warning: please don't forget to set your vault key!
#(see /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf)
# 09:16:15 >
# 09:16:15 > mclient -lsql -umonetdb -Pmonetdb --host=koala --port=34401
# 09:16:15 >
# 09:16:15 >
# 09:16:15 > Done.
# 09:16:15 >
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins