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

fixed bug 6467


diffs (95 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
@@ -93,3 +93,4 @@ insert_into_multiple_subqueries.Bug-6448
 HAVE_SAMTOOLS?sqlsmith.Bug-6449
 HAVE_LIBPY?python_loader_clobbers_default_with_null.Bug-6464
 skip_problem_best_effort.Bug-6442
+date_to_str.Bug-6467
diff --git a/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.sql 
b/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.sql
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.sql
@@ -0,0 +1,1 @@
+SELECT date '2017-11-14', EXTRACT(year from date '2017-11-14'), 
date_to_str(date '2017-11-14', '%Y %m %d -A:%A -G:%G V:%V w:%w W:%W');
diff --git a/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.stable.err 
b/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.stable.err
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.stable.err
@@ -0,0 +1,34 @@
+stderr of test 'date_to_str.Bug-6467` in directory 'sql/test/BugTracker-2017` 
itself:
+
+
+# 14:32:50 >  
+# 14:32:50 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=30624" "--set" 
"mapi_usock=/var/tmp/mtest-29760/.s.monetdb.30624" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017"
+# 14:32: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 = 30624
+# cmdline opt  mapi_usock = /var/tmp/mtest-29760/.s.monetdb.30624
+# 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
+
+# 14:32:51 >  
+# 14:32:51 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-29760" "--port=30624"
+# 14:32:51 >  
+
+
+# 14:32:51 >  
+# 14:32:51 >  "Done."
+# 14:32:51 >  
+
diff --git a/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.stable.out 
b/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.stable.out
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2017/Tests/date_to_str.Bug-6467.stable.out
@@ -0,0 +1,37 @@
+stdout of test 'date_to_str.Bug-6467` in directory 'sql/test/BugTracker-2017` 
itself:
+
+
+# 14:32:50 >  
+# 14:32:50 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=30624" "--set" 
"mapi_usock=/var/tmp/mtest-29760/.s.monetdb.30624" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017"
+# 14:32: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:30624/
+# Listening for UNIX domain connection requests on 
mapi:monetdb:///var/tmp/mtest-29760/.s.monetdb.30624
+# MonetDB/GIS module loaded
+# MonetDB/SQL module loaded
+
+Ready.
+
+# 14:32:51 >  
+# 14:32:51 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-29760" "--port=30624"
+# 14:32:51 >  
+
+#SELECT date '2017-11-14', EXTRACT(year from date '2017-11-14'), 
date_to_str(date '2017-11-14', '%Y %m %d -A:%A -G:%G V:%V w:%w W:%W');
+% .L2, .L4,    .L6 # table_name
+% L2,  L4,     L6 # name
+% date,        int,    clob # type
+% 10,  4,      43 # length
+[ 2017-11-14,  2017,   "2017 11 14 -A:Tuesday -G:2017 V:46 w:2 W:46"   ]
+
+# 14:32:51 >  
+# 14:32:51 >  "Done."
+# 14:32:51 >  
+
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to