Changeset: 261a59262ad6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=261a59262ad6
Added Files:
        sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.sql
        sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.err
        sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.out
Modified Files:
        sql/test/BugTracker-2017/Tests/All
Branch: Jul2017
Log Message:

add test and output for bug 6404


diffs (107 lines):

diff --git a/sql/test/BugTracker-2017/Tests/All 
b/sql/test/BugTracker-2017/Tests/All
--- a/sql/test/BugTracker-2017/Tests/All
+++ b/sql/test/BugTracker-2017/Tests/All
@@ -68,3 +68,4 @@ case.Bug-6386
 sqllitelogistest_case.Bug-6335
 udf_crash_subquery_scalar_paramters.Bug-6399
 side-effect.Bug-6397
+copy_into_crash.Bug-6404
diff --git a/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.sql 
b/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.sql
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.sql
@@ -0,0 +1,8 @@
+CREATE TABLE t (i1 int, i2 int, s1 string, PRIMARY KEY (i1));
+
+COPY 1 RECORDS INTO t FROM STDIN (i1, s1);
+1|abc
+
+select * from t;
+
+DROP table t;
diff --git a/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.err 
b/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.err
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.err
@@ -0,0 +1,34 @@
+stderr of test 'copy_into_crash.Bug-6404` in directory 
'sql/test/BugTracker-2017` itself:
+
+
+# 11:27:50 >  
+# 11:27:50 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=35557" "--set" 
"mapi_usock=/var/tmp/mtest-4174/.s.monetdb.35557" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017"
+# 11:27:50 >  
+
+# builtin opt  gdk_dbpath = 
/home/niels/scratch/rc-monetdb/Linux-x86_64/var/monetdb5/dbfarm/demo
+# builtin opt  gdk_debug = 0
+# builtin opt  gdk_vmtrim = no
+# builtin opt  monet_prompt = >
+# builtin opt  monet_daemon = no
+# builtin opt  mapi_port = 50000
+# builtin opt  mapi_open = false
+# builtin opt  mapi_autosense = false
+# builtin opt  sql_optimizer = default_pipe
+# builtin opt  sql_debug = 0
+# cmdline opt  gdk_nr_threads = 0
+# cmdline opt  mapi_open = true
+# cmdline opt  mapi_port = 35557
+# cmdline opt  mapi_usock = /var/tmp/mtest-4174/.s.monetdb.35557
+# cmdline opt  monet_prompt = 
+# cmdline opt  gdk_dbpath = 
/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017
+# cmdline opt  gdk_debug = 536870922
+
+# 11:27:50 >  
+# 11:27:50 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-4174" "--port=35557"
+# 11:27:50 >  
+
+
+# 11:27:50 >  
+# 11:27:50 >  "Done."
+# 11:27:50 >  
+
diff --git a/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.out 
b/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.out
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2017/Tests/copy_into_crash.Bug-6404.stable.out
@@ -0,0 +1,42 @@
+stdout of test 'copy_into_crash.Bug-6404` in directory 
'sql/test/BugTracker-2017` itself:
+
+
+# 11:27:50 >  
+# 11:27:50 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=35557" "--set" 
"mapi_usock=/var/tmp/mtest-4174/.s.monetdb.35557" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017"
+# 11:27:50 >  
+
+# MonetDB 5 server v11.27.6
+# This is an unreleased version
+# Serving database 'mTests_sql_test_BugTracker-2017', using 4 threads
+# Compiled for x86_64-unknown-linux-gnu/64bit with 128bit integers
+# Found 7.330 GiB available main-memory.
+# Copyright (c) 1993-July 2008 CWI.
+# Copyright (c) August 2008-2017 MonetDB B.V., all rights reserved
+# Visit https://www.monetdb.org/ for further information
+# Listening for connection requests on mapi:monetdb://localhost.nes.nl:35557/
+# Listening for UNIX domain connection requests on 
mapi:monetdb:///var/tmp/mtest-4174/.s.monetdb.35557
+# MonetDB/GIS module loaded
+# MonetDB/SQL module loaded
+
+Ready.
+
+# 11:27:50 >  
+# 11:27:50 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-4174" "--port=35557"
+# 11:27:50 >  
+
+#CREATE TABLE t (i1 int, i2 int, s1 string, PRIMARY KEY (i1));
+#COPY 1 RECORDS INTO t FROM STDIN (i1, s1);
+#1|abc
+[ 1    ]
+#select * from t;
+% sys.t,       sys.t,  sys.t # table_name
+% i1,  i2,     s1 # name
+% int, int,    clob # type
+% 1,   1,      3 # length
+[ 1,   NULL,   "abc"   ]
+#DROP table t;
+
+# 11:27:50 >  
+# 11:27:50 >  "Done."
+# 11:27:50 >  
+
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to