Changeset: b2f23fcc6769 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b2f23fcc6769
Added Files:
        sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.err
        sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.out
Branch: Feb2013
Log Message:

Approve the query cache test


diffs (107 lines):

diff --git a/sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.err 
b/sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.err
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.err
@@ -0,0 +1,35 @@
+stderr of test 'querycache.Bug-3212` in directory 'test/BugTracker-2012` 
itself:
+
+
+# 04:47:43 >  
+# 04:47:43 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=38288" "--set" 
"mapi_usock=/var/tmp/mtest-8953/.s.monetdb.38288" "--set" "monet_prompt=" 
"--forcemito" "--set" "mal_listing=2" 
"--dbpath=/export/scratch1/mk/Feb2013//Linux/var/MonetDB/mTests_test_BugTracker-2012"
 "--set" "mal_listing=0"
+# 04:47:43 >  
+
+# builtin opt  gdk_dbpath = 
/export/scratch1/mk/Feb2013//Linux/var/monetdb5/dbfarm/demo
+# builtin opt  gdk_debug = 0
+# builtin opt  gdk_vmtrim = yes
+# 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 = 38288
+# cmdline opt  mapi_usock = /var/tmp/mtest-8953/.s.monetdb.38288
+# cmdline opt  monet_prompt = 
+# cmdline opt  mal_listing = 2
+# cmdline opt  gdk_dbpath = 
/export/scratch1/mk/Feb2013//Linux/var/MonetDB/mTests_test_BugTracker-2012
+# cmdline opt  mal_listing = 0
+
+# 04:47:43 >  
+# 04:47:43 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-8953" "--port=38288"
+# 04:47:43 >  
+
+
+# 04:47:44 >  
+# 04:47:44 >  "Done."
+# 04:47:44 >  
+
diff --git a/sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.out 
b/sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.out
new file mode 100644
--- /dev/null
+++ b/sql/test/BugTracker-2012/Tests/querycache.Bug-3212.stable.out
@@ -0,0 +1,62 @@
+stdout of test 'querycache.Bug-3212` in directory 'test/BugTracker-2012` 
itself:
+
+
+# 04:47:43 >  
+# 04:47:43 >  "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" 
"mapi_open=true" "--set" "mapi_port=38288" "--set" 
"mapi_usock=/var/tmp/mtest-8953/.s.monetdb.38288" "--set" "monet_prompt=" 
"--forcemito" "--set" "mal_listing=2" 
"--dbpath=/export/scratch1/mk/Feb2013//Linux/var/MonetDB/mTests_test_BugTracker-2012"
 "--set" "mal_listing=0"
+# 04:47:43 >  
+
+# MonetDB 5 server v11.15.0
+# This is an unreleased version
+# Serving database 'mTests_test_BugTracker-2012', using 8 threads
+# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically 
linked
+# Found 15.629 GiB available main-memory.
+# Copyright (c) 1993-July 2008 CWI.
+# Copyright (c) August 2008-2012 MonetDB B.V., all rights reserved
+# Visit http://www.monetdb.org/ for further information
+# Listening for connection requests on mapi:monetdb://vienna.ins.cwi.nl:38288/
+# Listening for UNIX domain connection requests on 
mapi:monetdb:///var/tmp/mtest-8953/.s.monetdb.38288
+# MonetDB/GIS module loaded
+# MonetDB/JAQL module loaded
+# MonetDB/SQL module loaded
+
+Ready.
+
+# 04:47:43 >  
+# 04:47:43 >  "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-8953" "--port=38288"
+# 04:47:43 >  
+
+#create table qrys(i int, s string);
+#insert into qrys values (1,'hello'),(2,'brave'),(3,'new'),(4,'world');
+[ 4    ]
+#select i, s from qrys where i = 1 and s = 'hello';
+% sys.qrys,    sys.qrys # table_name
+% i,   s # name
+% int, clob # type
+% 1,   5 # length
+[ 1,   "hello" ]
+#select i, s from qrys where i = 2 and s = 'brave';
+% sys.qrys,    sys.qrys # table_name
+% i,   s # name
+% int, clob # type
+% 1,   5 # length
+[ 2,   "brave" ]
+#select i, s from qrys where i = 3 and s = 'new';
+% sys.qrys,    sys.qrys # table_name
+% i,   s # name
+% int, clob # type
+% 1,   3 # length
+[ 3,   "new"   ]
+#select * from querycache();
+% .,   . # table_name
+% query,       count # name
+% clob,        int # type
+% 78,  1 # length
+[ "select * from querycache();",       1       ]
+[ "select i, s from qrys where i = 1 and s = \\'hello\\';",    3       ]
+[ "insert into qrys values 
(1,\\'hello\\'),(2,\\'brave\\'),(3,\\'new\\'),(4,\\'world\\');",    1       ]
+#drop table qrys;
+
+# 04:47:44 >  
+# 04:47:44 >  "Done."
+# 04:47:44 >  
+
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to