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

Modified Files:
        int_parse.sql 
Added Files:
        int_parse.stable.err int_parse.stable.out 
Log Message:
The new field parsing leads to new error messages and not trimming spaces.
The SkyServer tests still require work


U int_parse.sql
Index: int_parse.sql
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/copy/Tests/int_parse.sql,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- int_parse.sql       28 Dec 2008 09:58:47 -0000      1.1
+++ int_parse.sql       28 Dec 2008 19:05:12 -0000      1.2
@@ -1,5 +1,5 @@
 create table t_int(i int);
-copy 3 records into t_int from stdin delimiters ',','\n' NULL as '';
+copy 4 records into t_int from stdin delimiters ',','\n' NULL as '';
 1
 nil
 null

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


# 19:40:24 >  
# 19:40:24 >   mserver5 "--config=/ufs/mk/monet5//Linux/etc/monetdb5.conf" 
--debug=10 --set gdk_nr_threads=0 --set 
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set 
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs"  --set mapi_open=true 
--set xrpc_open=true --set mapi_port=37659 --set xrpc_port=49418 --set 
monet_prompt= --trace  "--dbname=mTests_src_test_copy" --set mal_listing=0 
"--dbinit= include sql;" ; echo ; echo Over..
# 19:40:24 >  

# MonetDB server v5.9.0, based on kernel v1.27.0
# Serving database 'mTests_src_test_copy', 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- MonetDB B.V., all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://eir.ins.cwi.nl:37659/
# MonetDB/SQL module v2.27.0 loaded

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

Over..

# 19:40:24 >  
# 19:40:24 >  mclient -lsql -umonetdb -Pmonetdb --host=eir --port=37659 
# 19:40:24 >  


# 19:40:25 >  
# 19:40:25 >  Done.
# 19:40:25 >  


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


# 19:40:24 >  
# 19:40:24 >   mserver5 "--config=/ufs/mk/monet5//Linux/etc/monetdb5.conf" 
--debug=10 --set gdk_nr_threads=0 --set 
"monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin"
 --set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set 
"sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs"  --set mapi_open=true 
--set xrpc_open=true --set mapi_port=37659 --set xrpc_port=49418 --set 
monet_prompt= --trace  "--dbname=mTests_src_test_copy" --set mal_listing=0 
"--dbinit= include sql;" ; echo ; echo Over..
# 19:40:24 >  

# builtin opt   gdk_arch = 64bitx86_64-unknown-linux-gnu
# builtin opt   gdk_version = 1.27.0
# builtin opt   monet_pid = 22557
# builtin opt   prefix = /ufs/mk/monet5//Linux
# 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
# builtin opt   xquery_logdir = ${prefix}/var/MonetDB
# builtin opt   standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt   standoff_start = start
# builtin opt   standoff_end = end
# config opt    prefix = /ufs/mk/monet5//Linux
# config opt    config = ${prefix}/etc/monetdb5.conf
# config opt    prefix = /ufs/mk/monet5//Linux
# 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 = 2
# config opt    checkpoint_dir = ${prefix}/var/MonetDB5/chkpnt
# config opt    mapi_port = 50000
# config opt    mapi_open = false
# config opt    sql_logdir = ${prefix}/var/MonetDB5/sql_logs
# config opt    sql_init = ${exec_prefix}/lib/MonetDB5/sql_init.sql
# cmdline opt   config = /ufs/mk/monet5//Linux/etc/monetdb5.conf
# cmdline opt   gdk_nr_threads = 0
# cmdline opt   monet_mod_path = 
/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin
# cmdline opt   gdk_dbfarm = /ufs/mk/monet5//Linux/var/MonetDB5/dbfarm
# cmdline opt   sql_logdir = /ufs/mk/monet5//Linux/var/MonetDB5/sql_logs
# cmdline opt   mapi_open = true
# cmdline opt   xrpc_open = true
# cmdline opt   mapi_port = 37659
# cmdline opt   xrpc_port = 49418
# cmdline opt   monet_prompt = 
# cmdline opt   gdk_dbname = mTests_src_test_copy
# cmdline opt   mal_listing = 0
# cmdline opt   gdk_debug = 10
#warning: please don't forget to set your vault key!
#(see /ufs/mk/monet5//Linux/etc/monetdb5.conf)

# 19:40:24 >  
# 19:40:24 >  mclient -lsql -umonetdb -Pmonetdb --host=eir --port=37659 
# 19:40:24 >  

MAPI  = mone...@eir:37659
QUERY = copy 4 records into t_int from stdin delimiters ',','\n' NULL as '';
ERROR = !SQLException:sql:value 'null' while parsing 'null' from line 2 field 0 
not inserted, expecting type int
        !SQLException:importTable:failed to import table
MAPI  = mone...@eir:37659
QUERY = abc
ERROR = !syntax error, unexpected IDENT in: "abc"

# 19:40:25 >  
# 19:40:25 >  Done.
# 19:40:25 >  



------------------------------------------------------------------------------
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to