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

Added Files:
        copy_into_with_schema.sql copy_into_with_schema.stable.err 
        copy_into_with_schema.stable.out 
Log Message:
Hand-propagated from SQL_2-22_sync branch.

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


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


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

Reply via email to