Update of /cvsroot/monetdb/sql/src/test/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29027/src/test/Tests
Modified Files:
rank.stable.out
Added Files:
string.stable.err string.stable.out
Log Message:
propagated changes of Tuesday Dec 11 2007 - Tuesday Dec 18 2007
from the SQL_2-20 branch to the development trunk
Index: rank.stable.out
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Tests/rank.stable.out,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- rank.stable.out 28 Sep 2007 11:49:10 -0000 1.8
+++ rank.stable.out 18 Dec 2007 10:49:14 -0000 1.9
@@ -61,110 +61,110 @@
% foo, schema_id # name
% int, int # type
% 2, 4 # length
-[ 0, 980 ]
-[ 1, 980 ]
-[ 2, 980 ]
-[ 3, 980 ]
-[ 4, 980 ]
-[ 5, 980 ]
-[ 6, 980 ]
-[ 7, 980 ]
-[ 8, 980 ]
-[ 9, 980 ]
-[ 10, 980 ]
-[ 11, 980 ]
-[ 12, 980 ]
-[ 0, 1081 ]
-[ 1, 1081 ]
-[ 2, 1081 ]
-[ 3, 1081 ]
-[ 4, 1081 ]
-[ 5, 1081 ]
-[ 13, 980 ]
-[ 14, 980 ]
-[ 15, 980 ]
-[ 16, 980 ]
-[ 17, 980 ]
-[ 18, 980 ]
-[ 19, 980 ]
-[ 6, 1081 ]
-[ 20, 980 ]
-[ 21, 980 ]
-[ 22, 980 ]
-[ 23, 980 ]
-[ 24, 980 ]
+[ 0, 956 ]
+[ 1, 956 ]
+[ 2, 956 ]
+[ 3, 956 ]
+[ 4, 956 ]
+[ 5, 956 ]
+[ 6, 956 ]
+[ 7, 956 ]
+[ 8, 956 ]
+[ 9, 956 ]
+[ 10, 956 ]
+[ 11, 956 ]
+[ 12, 956 ]
+[ 0, 1057 ]
+[ 1, 1057 ]
+[ 2, 1057 ]
+[ 3, 1057 ]
+[ 4, 1057 ]
+[ 5, 1057 ]
+[ 13, 956 ]
+[ 14, 956 ]
+[ 15, 956 ]
+[ 16, 956 ]
+[ 17, 956 ]
+[ 18, 956 ]
+[ 19, 956 ]
+[ 6, 1057 ]
+[ 20, 956 ]
+[ 21, 956 ]
+[ 22, 956 ]
+[ 23, 956 ]
+[ 24, 956 ]
% sys.tables, sys.tables # table_name
% foo, schema_id # name
% int, int # type
% 2, 4 # length
-[ 0, 980 ]
-[ 1, 980 ]
-[ 2, 980 ]
-[ 3, 980 ]
-[ 4, 980 ]
-[ 5, 980 ]
-[ 6, 980 ]
-[ 7, 980 ]
-[ 8, 980 ]
-[ 9, 980 ]
-[ 10, 980 ]
-[ 11, 980 ]
-[ 12, 980 ]
-[ 0, 1081 ]
-[ 1, 1081 ]
-[ 2, 1081 ]
-[ 3, 1081 ]
-[ 4, 1081 ]
-[ 5, 1081 ]
-[ 13, 980 ]
-[ 14, 980 ]
-[ 15, 980 ]
-[ 16, 980 ]
-[ 17, 980 ]
-[ 18, 980 ]
-[ 19, 980 ]
-[ 6, 1081 ]
-[ 20, 980 ]
-[ 21, 980 ]
-[ 22, 980 ]
-[ 23, 980 ]
-[ 24, 980 ]
+[ 0, 956 ]
+[ 1, 956 ]
+[ 2, 956 ]
+[ 3, 956 ]
+[ 4, 956 ]
+[ 5, 956 ]
+[ 6, 956 ]
+[ 7, 956 ]
+[ 8, 956 ]
+[ 9, 956 ]
+[ 10, 956 ]
+[ 11, 956 ]
+[ 12, 956 ]
+[ 0, 1057 ]
+[ 1, 1057 ]
+[ 2, 1057 ]
+[ 3, 1057 ]
+[ 4, 1057 ]
+[ 5, 1057 ]
+[ 13, 956 ]
+[ 14, 956 ]
+[ 15, 956 ]
+[ 16, 956 ]
+[ 17, 956 ]
+[ 18, 956 ]
+[ 19, 956 ]
+[ 6, 1057 ]
+[ 20, 956 ]
+[ 21, 956 ]
+[ 22, 956 ]
+[ 23, 956 ]
+[ 24, 956 ]
% ., sys.tables # table_name
% foo, schema_id # name
% int, int # type
% 2, 4 # length
-[ 0, 980 ]
-[ 1, 980 ]
-[ 2, 980 ]
-[ 3, 980 ]
-[ 4, 980 ]
-[ 5, 980 ]
-[ 6, 980 ]
-[ 7, 980 ]
-[ 8, 980 ]
-[ 9, 980 ]
-[ 10, 980 ]
-[ 11, 980 ]
-[ 12, 980 ]
-[ 13, 980 ]
-[ 14, 980 ]
-[ 15, 980 ]
-[ 16, 980 ]
-[ 17, 980 ]
-[ 18, 980 ]
-[ 19, 980 ]
-[ 20, 980 ]
-[ 21, 980 ]
-[ 22, 980 ]
-[ 23, 980 ]
-[ 24, 980 ]
-[ 25, 1081 ]
-[ 26, 1081 ]
-[ 27, 1081 ]
-[ 28, 1081 ]
-[ 29, 1081 ]
-[ 30, 1081 ]
-[ 31, 1081 ]
+[ 0, 956 ]
+[ 1, 956 ]
+[ 2, 956 ]
+[ 3, 956 ]
+[ 4, 956 ]
+[ 5, 956 ]
+[ 6, 956 ]
+[ 7, 956 ]
+[ 8, 956 ]
+[ 9, 956 ]
+[ 10, 956 ]
+[ 11, 956 ]
+[ 12, 956 ]
+[ 13, 956 ]
+[ 14, 956 ]
+[ 15, 956 ]
+[ 16, 956 ]
+[ 17, 956 ]
+[ 18, 956 ]
+[ 19, 956 ]
+[ 20, 956 ]
+[ 21, 956 ]
+[ 22, 956 ]
+[ 23, 956 ]
+[ 24, 956 ]
+[ 25, 1057 ]
+[ 26, 1057 ]
+[ 27, 1057 ]
+[ 28, 1057 ]
+[ 29, 1057 ]
+[ 30, 1057 ]
+[ 31, 1057 ]
% sys. # table_name
% foo # name
% int # type
@@ -205,110 +205,110 @@
% foo, schema_id # name
% int, int # type
% 2, 4 # length
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 0, 980 ]
-[ 13, 1081 ]
-[ 13, 1081 ]
-[ 13, 1081 ]
-[ 13, 1081 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 ]
+[ 0, 956 ]
+[ 0, 956 ]
+[ 0, 956 ]
+[ 0, 956 ]
+[ 0, 956 ]
+[ 0, 956 ]
+[ 0, 956 ]
+[ 16, 1057 ]
+[ 16, 1057 ]
+[ 16, 1057 ]
+[ 16, 1057 ]
+[ 16, 1057 ]
+[ 16, 1057 ]
+[ 16, 1057 ]
# 22:17:03 >
# 22:17:03 > Done.
--- NEW FILE: string.stable.err ---
stderr of test 'string` in directory 'src/test` itself:
# 12:30:46 >
# 12:30:46 > mserver5
"--config=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/etc/monetdb5.conf"
--debug=10 --set
"monet_mod_path=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/lib/MonetDB5:/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/lib/MonetDB5/lib:/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/lib/MonetDB5/bin"
--set
"gdk_dbfarm=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/var/MonetDB5/dbfarm"
--set
"sql_logdir=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/var/MonetDB5/sql_logs"
--set mapi_open=true --set xrpc_open=true --set mapi_port=31025 --set
xrpc_port=49090 --set monet_prompt= --trace "--dbname=mTests_src_test" --set
mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 12:30:46 >
#warning: please don't forget to set your vault key!
#(see /ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/etc/monetdb5.conf)
# 12:30:46 >
# 12:30:46 > mclient -lsql -umonetdb -Pmonetdb --host=amelia --port=31025
# 12:30:46 >
MAPI = [EMAIL PROTECTED]:31025
QUERY = select str,str2,soundex(str),soundex(str2),
editdistance2(soundex(str),soundex(str2)),
editdistance(soundex(str),soundex(str2)), difference(str,str2) from test;
ERROR = !SELECT: no such unary operator 'soundex(varchar)'
MAPI = [EMAIL PROTECTED]:31025
QUERY = select levenshtein(str,str2, 1, 2, 3), str, str2 from test;
ERROR = !SELECT: no such operator 'levenshtein'
MAPI = [EMAIL PROTECTED]:31025
QUERY = select qgramnormalize(str) , qgramnormalize(str2), str, str2 from test;
ERROR = !SELECT: no such unary operator 'qgramnormalize(varchar)'
# 12:30:46 >
# 12:30:46 > Done.
# 12:30:46 >
--- NEW FILE: string.stable.out ---
stdout of test 'string` in directory 'src/test` itself:
# 12:30:46 >
# 12:30:46 > mserver5
"--config=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/etc/monetdb5.conf"
--debug=10 --set
"monet_mod_path=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/lib/MonetDB5:/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/lib/MonetDB5/lib:/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/lib/MonetDB5/bin"
--set
"gdk_dbfarm=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/var/MonetDB5/dbfarm"
--set
"sql_logdir=/ufs/goncalve/scratch/MonetDB/Stable/MonetDB5/var/MonetDB5/sql_logs"
--set mapi_open=true --set xrpc_open=true --set mapi_port=31025 --set
xrpc_port=49090 --set monet_prompt= --trace "--dbname=mTests_src_test" --set
mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 12:30:46 >
!WARNING: GDKlockHome: ignoring empty or invalid .gdk_lock.
!WARNING: BBPdir: initializing BBP.
# MonetDB server v5.2.3, based on kernel v1.20.1
# Serving database 'mTests_src_test'
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-2007 CWI, all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://amelia.ins.cwi.nl:31025/
# MonetDB/SQL module v2.20.3 loaded
Ready.
#function user.main():void;
# clients.quit();
#end main;
Over..
# 12:30:46 >
# 12:30:46 > mclient -lsql -umonetdb -Pmonetdb --host=amelia --port=31025
# 12:30:46 >
[ 1 ]
[ 1 ]
[ 1 ]
[ 1 ]
% sys.test, sys.test # table_name
% str, str2 # name
% varchar, varchar # type
% 6, 4 # length
[ "", "test" ]
[ "test", "" ]
[ "", "" ]
[ " Test ", "" ]
% sys., sys.test # table_name
% length_str, str # name
% int, varchar # type
% 1, 6 # length
[ 0, "" ]
[ 4, "test" ]
[ 0, "" ]
[ 5, " Test " ]
% sys., sys.test # table_name
% substring_str, str2 # name
% varchar, varchar # type
% 5, 4 # length
[ "", "test" ]
[ "est", "" ]
[ "", "" ]
[ "Test ", "" ]
% sys., sys.test # table_name
% substring_str, str2 # name
% varchar, varchar # type
% 5, 4 # length
[ "", "test" ]
[ "est", "" ]
[ "", "" ]
[ "Test ", "" ]
% sys., sys.test # table_name
% substring_str, str2 # name
% varchar, varchar # type
% 1, 4 # length
[ "", "test" ]
[ "e", "" ]
[ "", "" ]
[ "T", "" ]
% sys., sys.test # table_name
% substring_str, str2 # name
% varchar, varchar # type
% 1, 4 # length
[ "", "test" ]
[ "e", "" ]
[ "", "" ]
[ "T", "" ]
% sys., sys.test # table_name
% substring_str, str2 # name
% varchar, varchar # type
% 5, 4 # length
[ "", "test" ]
[ "est", "" ]
[ "", "" ]
[ "Test ", "" ]
% sys., sys.test # table_name
% substring_str, str2 # name
% varchar, varchar # type
% 5, 4 # length
[ "", "test" ]
[ "est", "" ]
[ "", "" ]
[ "Test ", "" ]
% sys., sys.test, sys.test # table_name
% locate_str, str, str2 # name
% int, varchar, varchar # type
% 1, 6, 4 # length
[ 1, "", "test" ]
[ 0, "test", "" ]
[ 1, "", "" ]
[ 0, " Test ", "" ]
% sys., sys.test, sys.test # table_name
% locate_str, str, str2 # name
% int, varchar, varchar # type
% 1, 6, 4 # length
[ 1, "", "test" ]
[ 0, "test", "" ]
[ 1, "", "" ]
[ 0, " Test ", "" ]
% sys., sys.test # table_name
% ascii_str, str # name
% int, varchar # type
% 3, 6 # length
[ NULL, "" ]
[ 116, "test" ]
[ NULL, "" ]
[ 32, " Test " ]
% sys., sys.test # table_name
% code_ascii_str, str # name
% char, varchar # type
% 0, 6 # length
[ NULL, "" ]
[ "t", "test" ]
[ NULL, "" ]
[ " ", " Test " ]
% sys., sys.test # table_name
% left_str, str # name
% varchar, varchar # type
% 3, 6 # length
[ "", "" ]
[ "tes", "test" ]
[ "", "" ]
[ " Te", " Test " ]
% sys., sys.test # table_name
% right_str, str # name
% varchar, varchar # type
% 3, 6 # length
[ "", "" ]
[ "est", "test" ]
[ "", "" ]
[ "st ", " Test " ]
% sys., sys.test # table_name
% lower_str, str # name
% varchar, varchar # type
% 6, 6 # length
[ "", "" ]
[ "test", "test" ]
[ "", "" ]
[ " test ", " Test " ]
% sys., sys.test # table_name
% lcase_str, str # name
% varchar, varchar # type
% 6, 6 # length
[ "", "" ]
[ "test", "test" ]
[ "", "" ]
[ " test ", " Test " ]
% sys., sys.test # table_name
% upper_str, str # name
% varchar, varchar # type
% 6, 6 # length
[ "", "" ]
[ "TEST", "test" ]
[ "", "" ]
[ " TEST ", " Test " ]
% sys., sys.test # table_name
% ucase_str, str # name
% varchar, varchar # type
% 6, 6 # length
[ "", "" ]
[ "TEST", "test" ]
[ "", "" ]
[ " TEST ", " Test " ]
% sys., sys.test # table_name
% trim_str, str # name
% varchar, varchar # type
% 4, 6 # length
[ "", "" ]
[ "test", "test" ]
[ "", "" ]
[ "Test", " Test " ]
% sys., sys.test # table_name
% ltrim_str, str # name
% varchar, varchar # type
% 5, 6 # length
[ "", "" ]
[ "test", "test" ]
[ "", "" ]
[ "Test ", " Test " ]
% sys., sys.test # table_name
% rtrim_str, str # name
% varchar, varchar # type
% 5, 6 # length
[ "", "" ]
[ "test", "test" ]
[ "", "" ]
[ " Test", " Test " ]
% sys., sys.test, sys.test # table_name
% insert_str, str, str2 # name
% varchar, varchar, varchar # type
% 4, 6, 4 # length
[ "test", "", "test" ]
[ "te", "test", "" ]
[ "", "", "" ]
[ " T", " Test ", "" ]
% sys., sys.test, sys.test # table_name
% replace_str, str, str2 # name
% varchar, varchar, varchar # type
% 11, 6, 4 # length
[ "", "", "test" ]
[ "testestest", "test", "" ]
[ "", "", "" ]
[ " Tes Test ", " Test ", "" ]
% sys., sys.test # table_name
% repeat_str, str # name
% varchar, varchar # type
% 24, 6 # length
[ "", "" ]
[ "testtesttesttest", "test" ]
[ "", "" ]
[ " Test Test Test Test ", " Test " ]
% ., sys.test # table_name
% ascii_single_value, str # name
% int, varchar # type
% 2, 6 # length
[ 52, "" ]
[ 52, "test" ]
[ 52, "" ]
[ 52, " Test " ]
[ 1 ]
[ 1 ]
# 12:30:46 >
# 12:30:46 > Done.
# 12:30:46 >
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins