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

Modified Files:
      Tag: SQL_2-22
        All 
Added Files:
      Tag: SQL_2-22
        copy_into_with_schema.sql copy_into_with_schema.stable.err 
        copy_into_with_schema.stable.out 
Log Message:
add test script for bug in copy into


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


# 09:36:07 >  
# 09:36:07 >   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=36838 --set 
xrpc_port=44581 --set monet_prompt= --trace  "--dbname=mTests_src_test_bugs" 
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 09:36:07 >  

# MonetDB server v5.4.0, based on kernel v1.22.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://koala.ins.cwi.nl:36838/
# MonetDB/SQL module v2.22.0 loaded

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

Over..

# 09:36:07 >  
# 09:36:07 >  mclient -lsql -umonetdb -Pmonetdb --host=koala --port=36838 
# 09:36:07 >  

[ 2     ]
[ 2     ]
[ 1     ]

# 09:36:07 >  
# 09:36:07 >  Done.
# 09:36:07 >  


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


# 09:36:07 >  
# 09:36:07 >   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=36838 --set 
xrpc_port=44581 --set monet_prompt= --trace  "--dbname=mTests_src_test_bugs" 
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 09:36:07 >  

#warning: please don't forget to set your vault key!
#(see /ufs/niels/scratch/rc/Linux-x86_64/etc/monetdb5.conf)

# 09:36:07 >  
# 09:36:07 >  mclient -lsql -umonetdb -Pmonetdb --host=koala --port=36838 
# 09:36:07 >  


# 09:36:07 >  
# 09:36:07 >  Done.
# 09:36:07 >  


Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/bugs/Tests/All,v
retrieving revision 1.106.2.4
retrieving revision 1.106.2.5
diff -u -d -r1.106.2.4 -r1.106.2.5
--- All 28 Feb 2008 17:08:40 -0000      1.106.2.4
+++ All 21 Mar 2008 08:38:03 -0000      1.106.2.5
@@ -85,3 +85,4 @@
 case_substring
 zero_or_one_bug
 ifthenelse_bug
+copy_into_with_schema

--- NEW FILE: copy_into_with_schema.sql ---

CREATE TABLE copy_into_without_schema (
column1 VARCHAR(32),
column2 VARCHAR(32)
);

COPY 2 RECORDS INTO copy_into_without_schema FROM STDIN USING DELIMITERS ',', 
'\n';
test,test
test,test

CREATE SCHEMA abc;

CREATE TABLE abc.copy_into_with_schema (
column1 VARCHAR(32),
column2 VARCHAR(32)
);

COPY 2 RECORDS INTO abc.copy_into_with_schema FROM STDIN USING DELIMITERS ',', 
'\n';
test,test
test,test

INSERT into abc.copy_into_with_schema VALUES('one','two');

drop schema abc cascade;
drop table copy_into_without_schema;


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

Reply via email to