Changeset: 3b06c3df35f7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3b06c3df35f7
Added Files:
        sql/test/BugTracker-2016/Tests/union.Bug-6069.sql
        sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.err
        sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.out
Modified Files:
        sql/test/BugTracker-2016/Tests/All
Branch: Jun2016
Log Message:

added test for bug 6069


diffs (107 lines):

diff --git a/sql/test/BugTracker-2016/Tests/All 
b/sql/test/BugTracker-2016/Tests/All
--- a/sql/test/BugTracker-2016/Tests/All
+++ b/sql/test/BugTracker-2016/Tests/All
@@ -48,3 +48,4 @@ prepare_without_querycache.Bug-4047
 outer_constant_predicate.Bug-4070
 name_conflict_in_union.Bug-6065
 cast_and_floor.Bug-6071
+union.Bug-6069
diff --git a/sql/test/BugTracker-2016/Tests/union.Bug-6069.sql 
b/sql/test/BugTracker-2016/Tests/union.Bug-6069.sql
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2016/Tests/union.Bug-6069.sql
@@ -0,0 +1,6 @@
+
+WITH t1(x) AS (
+       SELECT 0 FROM (values (0)) as v(x)), t2(x) AS (
+       SELECT 0 FROM ( SELECT 0, 0, 0, 0, 0, 0, 0 UNION ALL
+                       SELECT 1, 0, 0, 0, 0, 0, 0) AS a23(x1, x2, x3, x4, x5, 
x6, x7)
+       ) SELECT 0 FROM t1, t2;
diff --git a/sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.err 
b/sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.err
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.err
@@ -0,0 +1,35 @@
+stderr of test 'union.Bug-6069` in directory 'sql/test/BugTracker-2016` itself:
+
+
+# 18:59:52 >  
+# 18:59:52 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=37046" "--set" 
"mapi_usock=/var/tmp/mtest-24122/.s.monetdb.37046" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2016"
 "--set" "embedded_r=yes"
+# 18:59:52 >  
+
+# 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 = 37046
+# cmdline opt  mapi_usock = /var/tmp/mtest-24122/.s.monetdb.37046
+# cmdline opt  monet_prompt = 
+# cmdline opt  gdk_dbpath = 
/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2016
+# cmdline opt  embedded_r = yes
+# cmdline opt  gdk_debug = 536870922
+
+# 18:59:52 >  
+# 18:59:52 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-24122" "--port=37046"
+# 18:59:52 >  
+
+
+# 18:59:53 >  
+# 18:59:53 >  "Done."
+# 18:59:53 >  
+
diff --git a/sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.out 
b/sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.out
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2016/Tests/union.Bug-6069.stable.out
@@ -0,0 +1,43 @@
+stdout of test 'union.Bug-6069` in directory 'sql/test/BugTracker-2016` itself:
+
+
+# 18:59:52 >  
+# 18:59:52 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=37046" "--set" 
"mapi_usock=/var/tmp/mtest-24122/.s.monetdb.37046" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2016"
 "--set" "embedded_r=yes"
+# 18:59:52 >  
+
+# MonetDB 5 server v11.23.12
+# This is an unreleased version
+# Serving database 'mTests_sql_test_BugTracker-2016', using 4 threads
+# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs and 128bit 
integers dynamically linked
+# Found 7.332 GiB available main-memory.
+# Copyright (c) 1993-July 2008 CWI.
+# Copyright (c) August 2008-2016 MonetDB B.V., all rights reserved
+# Visit http://www.monetdb.org/ for further information
+# Listening for connection requests on mapi:monetdb://localhost.nes.nl:37046/
+# Listening for UNIX domain connection requests on 
mapi:monetdb:///var/tmp/mtest-24122/.s.monetdb.37046
+# MonetDB/GIS module loaded
+# MonetDB/SQL module loaded
+# MonetDB/R   module loaded
+
+Ready.
+
+# 18:59:52 >  
+# 18:59:52 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-24122" "--port=37046"
+# 18:59:52 >  
+
+#WITH t1(x) AS (
+#      SELECT 0 FROM (values (0)) as v(x)), t2(x) AS (
+#      SELECT 0 FROM ( SELECT 0, 0, 0, 0, 0, 0, 0 UNION ALL
+#                      SELECT 1, 0, 0, 0, 0, 0, 0) AS a23(x1, x2, x3, x4, x5, 
x6, x7)
+#      ) SELECT 0 FROM t1, t2;
+% .L22 # table_name
+% L22 # name
+% tinyint # type
+% 1 # length
+[ 0    ]
+[ 0    ]
+
+# 18:59:53 >  
+# 18:59:53 >  "Done."
+# 18:59:53 >  
+
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to