Changeset: ebceb5fbf004 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ebceb5fbf004
Modified Files:
        sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.sql
        
sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.stable.out
Branch: Oct2010
Log Message:

COPY INTO now requires an absolute file path; hence we use a (fake) one
(file did/does not exist, anyway, but is not required for PLAN of query)

Testing will reveal, whether MonetDB accepts "/..." as abvolute path on Windows 
...


diffs (27 lines):

diff -r 968019aa6764 -r ebceb5fbf004 
sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.sql
--- a/sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.sql     
Wed Dec 15 12:38:29 2010 +0100
+++ b/sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.sql     
Wed Dec 15 13:06:45 2010 +0100
@@ -1,3 +1,3 @@
 create table cm_tmp(i int);
-plan copy into cm_tmp from 'file1','file2';
+plan copy into cm_tmp from '/file1','/file2';
 drop table cm_tmp;
diff -r 968019aa6764 -r ebceb5fbf004 
sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.stable.out
--- 
a/sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.stable.out  
    Wed Dec 15 12:38:29 2010 +0100
+++ 
b/sql/src/test/BugTracker-2009/Tests/copy_multiple_files.SF-2902320.stable.out  
    Wed Dec 15 13:06:45 2010 +0100
@@ -29,12 +29,12 @@
 % .plan # table_name
 % rel # name
 % clob # type
-% 93 # length
+% 94 # length
 insert(
 | table(sys.cm_tmp) [ cm_tmp.i, cm_tmp.%TID% NOT NULL ]
 | union (
-| | table copyfrom('sys', 'cm_tmp', '|', '\n', 'NULL', 'null', 'file1', -1, 
0),  [ cm_tmp.i ],
-| | table copyfrom('sys', 'cm_tmp', '|', '\n', 'NULL', 'null', 'file2', -1, 
0),  [ cm_tmp.i ]
+| | table copyfrom('sys', 'cm_tmp', '|', '\n', 'NULL', 'null', '/file1', -1, 
0),  [ cm_tmp.i ],
+| | table copyfrom('sys', 'cm_tmp', '|', '\n', 'NULL', 'null', '/file2', -1, 
0),  [ cm_tmp.i ]
 | )
 )
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to