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

added test for bug 4047


diffs (101 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
@@ -44,3 +44,4 @@ timestamp_with_tz_fromstr.Bug-4019
 CREATE_INDEX_breaks_table_queries.Bug-4053
 concat_2_integers.Bug-4058
 column_not_found.Bug-4064
+prepare_without_querycache.Bug-4047
diff --git 
a/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.sql 
b/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.sql
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.sql
@@ -0,0 +1,3 @@
+
+set cache=0;
+prepare select 1;
diff --git 
a/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.stable.err 
b/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.stable.err
new file mode 100644
--- /dev/null
+++ 
b/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.stable.err
@@ -0,0 +1,35 @@
+stderr of test 'prepare_without_querycache.Bug-4047` in directory 
'sql/test/BugTracker-2016` itself:
+
+
+# 12:52:07 >  
+# 12:52:07 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=34463" "--set" 
"mapi_usock=/var/tmp/mtest-20726/.s.monetdb.34463" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2016"
 "--set" "embedded_r=yes"
+# 12:52:07 >  
+
+# 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 = 34463
+# cmdline opt  mapi_usock = /var/tmp/mtest-20726/.s.monetdb.34463
+# 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
+
+# 12:52:08 >  
+# 12:52:08 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-20726" "--port=34463"
+# 12:52:08 >  
+
+
+# 12:52:08 >  
+# 12:52:08 >  "Done."
+# 12:52:08 >  
+
diff --git 
a/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.stable.out 
b/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.stable.out
new file mode 100644
--- /dev/null
+++ 
b/sql/test/BugTracker-2016/Tests/prepare_without_querycache.Bug-4047.stable.out
@@ -0,0 +1,40 @@
+stdout of test 'prepare_without_querycache.Bug-4047` in directory 
'sql/test/BugTracker-2016` itself:
+
+
+# 12:52:07 >  
+# 12:52:07 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=34463" "--set" 
"mapi_usock=/var/tmp/mtest-20726/.s.monetdb.34463" "--set" "monet_prompt=" 
"--forcemito" 
"--dbpath=/home/niels/scratch/rc-monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2016"
 "--set" "embedded_r=yes"
+# 12:52:07 >  
+
+# MonetDB 5 server v11.23.10
+# 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:34463/
+# Listening for UNIX domain connection requests on 
mapi:monetdb:///var/tmp/mtest-20726/.s.monetdb.34463
+# MonetDB/GIS module loaded
+# MonetDB/SQL module loaded
+# MonetDB/R   module loaded
+
+Ready.
+
+# 12:52:08 >  
+# 12:52:08 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-20726" "--port=34463"
+# 12:52:08 >  
+
+#set cache=0;
+#prepare select 1;
+#prepare select 1;
+% .prepare,    .prepare,       .prepare,       .prepare,       .prepare,       
.prepare # table_name
+% type,        digits, scale,  schema, table,  column # name
+% varchar,     int,    int,    str,    str,    str # type
+% 7,   1,      1,      0,      1,      0 # length
+[ "tinyint",   8,      0,      "",     "L",    ""      ]
+
+# 12:52:08 >  
+# 12:52:08 >  "Done."
+# 12:52:08 >  
+
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to