Changeset: 0f0f8d2aa7ad for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0f0f8d2aa7ad Added Files: sql/test/mergetables/Tests/doubletable.stable.err sql/test/mergetables/Tests/doubletable.stable.out sql/test/mergetables/Tests/forex1.stable.err sql/test/mergetables/Tests/forex1.stable.out Branch: default Log Message:
added stable output for new mergetable tests diffs (185 lines): diff --git a/sql/test/mergetables/Tests/doubletable.stable.err b/sql/test/mergetables/Tests/doubletable.stable.err new file mode 100644 --- /dev/null +++ b/sql/test/mergetables/Tests/doubletable.stable.err @@ -0,0 +1,44 @@ +stderr of test 'doubletable` in directory 'sql/test/mergetables` itself: + + +# 15:50:38 > +# 15:50:38 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=38170" "--set" "mapi_usock=/var/tmp/mtest-7383/.s.monetdb.38170" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/home/niels/scratch/monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_mergetables" "--set" "mal_listing=0" "--set" "embedded_r=yes" +# 15:50:38 > + +# builtin opt gdk_dbpath = /home/niels/scratch/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 = 38170 +# cmdline opt mapi_usock = /var/tmp/mtest-7383/.s.monetdb.38170 +# cmdline opt monet_prompt = +# cmdline opt mal_listing = 2 +# cmdline opt gdk_dbpath = /home/niels/scratch/monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_mergetables +# cmdline opt mal_listing = 0 +# cmdline opt embedded_r = yes +# cmdline opt gdk_debug = 536870922 + +# 15:50:39 > +# 15:50:39 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-7383" "--port=38170" +# 15:50:39 > + +MAPI = (monetdb) /var/tmp/mtest-11712/.s.monetdb.35451 +QUERY = ALTER TABLE complete ADD TABLE part1; +ERROR = !ALTER TABLE: table 'part1' is already part of the MERGE TABLE 'sys.complete' +MAPI = (monetdb) /var/tmp/mtest-11712/.s.monetdb.35451 +QUERY = ALTER TABLE complete ADD TABLE part2; +ERROR = !ALTER TABLE: table 'part2' is already part of the MERGE TABLE 'sys.complete' + + +# 15:50:39 > +# 15:50:39 > "Done." +# 15:50:39 > + diff --git a/sql/test/mergetables/Tests/doubletable.stable.out b/sql/test/mergetables/Tests/doubletable.stable.out new file mode 100644 --- /dev/null +++ b/sql/test/mergetables/Tests/doubletable.stable.out @@ -0,0 +1,40 @@ +stdout of test 'doubletable` in directory 'sql/test/mergetables` itself: + + +# 15:50:38 > +# 15:50:38 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=38170" "--set" "mapi_usock=/var/tmp/mtest-7383/.s.monetdb.38170" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/home/niels/scratch/monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_mergetables" "--set" "mal_listing=0" "--set" "embedded_r=yes" +# 15:50:38 > + +# MonetDB 5 server v11.20.0 +# This is an unreleased version +# Serving database 'mTests_sql_test_mergetables', using 4 threads +# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs and 128bit integers dynamically linked +# Found 7.333 GiB available main-memory. +# Copyright (c) 1993-July 2008 CWI. +# Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved +# Visit http://www.monetdb.org/ for further information +# Listening for connection requests on mapi:monetdb://localhost.nes.nl:38170/ +# Listening for UNIX domain connection requests on mapi:monetdb:///var/tmp/mtest-7383/.s.monetdb.38170 +# MonetDB/GIS module loaded +# MonetDB/SQL module loaded +# MonetDB/R module loaded + +Ready. + +# 15:50:39 > +# 15:50:39 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-7383" "--port=38170" +# 15:50:39 > + +#CREATE TABLE part1 ( x double, y double, z double); +#CREATE TABLE part2 ( x double, y double, z double); +#CREATE MERGE TABLE complete ( x double, y double, z double); +#ALTER TABLE complete ADD TABLE part1; +#ALTER TABLE complete ADD TABLE part2; +#DROP TABLE complete; +#DROP TABLE part1; +#DROP TABLE part2; + +# 15:50:39 > +# 15:50:39 > "Done." +# 15:50:39 > + diff --git a/sql/test/mergetables/Tests/forex1.stable.err b/sql/test/mergetables/Tests/forex1.stable.err new file mode 100644 --- /dev/null +++ b/sql/test/mergetables/Tests/forex1.stable.err @@ -0,0 +1,37 @@ +stderr of test 'forex1` in directory 'sql/test/mergetables` itself: + + +# 15:41:07 > +# 15:41:07 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=37150" "--set" "mapi_usock=/var/tmp/mtest-2742/.s.monetdb.37150" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/home/niels/scratch/monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_mergetables" "--set" "mal_listing=0" "--set" "embedded_r=yes" +# 15:41:07 > + +# builtin opt gdk_dbpath = /home/niels/scratch/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 = 37150 +# cmdline opt mapi_usock = /var/tmp/mtest-2742/.s.monetdb.37150 +# cmdline opt monet_prompt = +# cmdline opt mal_listing = 2 +# cmdline opt gdk_dbpath = /home/niels/scratch/monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_mergetables +# cmdline opt mal_listing = 0 +# cmdline opt embedded_r = yes +# cmdline opt gdk_debug = 536870922 + +# 15:41:08 > +# 15:41:08 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-2742" "--port=37150" +# 15:41:08 > + + +# 15:41:08 > +# 15:41:08 > "Done." +# 15:41:08 > + diff --git a/sql/test/mergetables/Tests/forex1.stable.out b/sql/test/mergetables/Tests/forex1.stable.out new file mode 100644 --- /dev/null +++ b/sql/test/mergetables/Tests/forex1.stable.out @@ -0,0 +1,44 @@ +stdout of test 'forex1` in directory 'sql/test/mergetables` itself: + + +# 15:41:07 > +# 15:41:07 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=37150" "--set" "mapi_usock=/var/tmp/mtest-2742/.s.monetdb.37150" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/home/niels/scratch/monetdb/Linux-x86_64/var/MonetDB/mTests_sql_test_mergetables" "--set" "mal_listing=0" "--set" "embedded_r=yes" +# 15:41:07 > + +# MonetDB 5 server v11.20.0 +# This is an unreleased version +# Serving database 'mTests_sql_test_mergetables', using 4 threads +# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs and 128bit integers dynamically linked +# Found 7.333 GiB available main-memory. +# Copyright (c) 1993-July 2008 CWI. +# Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved +# Visit http://www.monetdb.org/ for further information +# Listening for connection requests on mapi:monetdb://localhost.nes.nl:37150/ +# Listening for UNIX domain connection requests on mapi:monetdb:///var/tmp/mtest-2742/.s.monetdb.37150 +# MonetDB/GIS module loaded +# MonetDB/SQL module loaded +# MonetDB/R module loaded + +Ready. + +# 15:41:08 > +# 15:41:08 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-2742" "--port=37150" +# 15:41:08 > + +#CREATE MERGE TABLE forex ( clk timestamp, currency string, ts timestamp, bid decimal(12,6), offer decimal(12,6), spread decimal(12,6) ); +#CREATE TABLE forex1 ( clk timestamp, currency string, ts timestamp, bid decimal(12,6), offer decimal(12,6), spread decimal(12,6) ); +#ALTER TABLE forex1 SET READ ONLY; +#ALTER TABLE forex ADD TABLE forex1; +#SELECT X.clk FROM forex AS X; +% sys.x # table_name +% clk # name +% timestamp # type +% 26 # length +#ALTER TABLE forex DROP TABLE forex1; +#DROP TABLE forex1; +#DROP TABLE forex; + +# 15:41:08 > +# 15:41:08 > "Done." +# 15:41:08 > + _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list