Changeset: c82267a5e412 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c82267a5e412 Modified Files: sql/test/testdb-upgrade-chain/Tests/dump.stable.out.Windows Branch: Oct2014 Log Message:
Approved upgrade on Windows. diffs (43 lines): diff --git a/sql/test/testdb-upgrade-chain/Tests/dump.stable.out.Windows b/sql/test/testdb-upgrade-chain/Tests/dump.stable.out.Windows --- a/sql/test/testdb-upgrade-chain/Tests/dump.stable.out.Windows +++ b/sql/test/testdb-upgrade-chain/Tests/dump.stable.out.Windows @@ -101198,19 +101198,6 @@ 1 0 1 1 create view keytest3 as select t2.key1, t2.key2, t1.key3 from keytest1 t1, keytest2 t2 where t1.key1 = t2.key1 and t1.key2 = t2.key2; create trigger keytesttrigger after update on keytest1 referencing new row as new_row for each row insert into keytest2 values (new_row.key1, new_row.key2); -create function keyjoin() -returns table ( - key1 integer, - key2 integer, - key3 integer -) -begin - return table ( - select keytest2.key1, keytest2.key2, keytest1.key3 - from keytest1, keytest2 - where keytest1.key1 = keytest2.key1 and keytest1.key2 = keytest2.key2 - ); -end; CREATE TABLE "testschema"."selfref" ( "id" INTEGER NOT NULL DEFAULT next value for "testschema"."selfref_seq", "parentid" INTEGER, @@ -101253,6 +101240,19 @@ CREATE TABLE "testschema"."geomtest" ( COPY 2 RECORDS INTO "testschema"."geomtest" FROM stdin USING DELIMITERS '\t','\n','"'; POINT (10.5000000000000000 12.3000000000000010) LINESTRING (10.0000000000000000 10.0000000000000000, 20.0000000000000000 20.0000000000000000, 30.0000000000000000 40.0000000000000000) LINESTRING (10.0000000000000000 10.0000000000000000, 20.0000000000000000 20.0000000000000000, 30.0000000000000000 40.0000000000000000) POLYGON ((10.0000000000000000 10.0000000000000000, 10.0000000000000000 20.0000000000000000, 20.0000000000000000 20.0000000000000000, 20.0000000000000000 15.0000000000000000, 10.0000000000000000 10.0000000000000000)) POLYGON ((10.0000000000000000 10.0000000000000000, 10.0000000000000000 20.0000000000000000, 20.0000000000000000 20.0000000000000000, 20.0000000000000000 15.0000000000000000, 10.0000000000000000 10.0000000000000000)) MULTIPOINT (20.0000000000000000 80.0000000000000000, 110.0000000000000000 160.0000000000000000, 20.0000000000000000 160.0000000000000000) MULTILINESTRING ((0.0000000000000000 0.0000000000000000, 0.0000000000000000 80.0000000000000000, 60.000000000 0000000 80.0000000000000000, 60.0000000000000000 0.0000000000000000, 0.0000000000000000 0.0000000000000000)) MULTILINESTRING ((0.0000000000000000 0.0000000000000000, 0.0000000000000000 80.0000000000000000, 60.0000000000000000 80.0000000000000000, 60.0000000000000000 0.0000000000000000, 0.0000000000000000 0.0000000000000000)) MULTIPOLYGON (((140.0000000000000000 110.0000000000000000, 260.0000000000000000 110.0000000000000000, 170.0000000000000000 20.0000000000000000, 50.0000000000000000 20.0000000000000000, 140.0000000000000000 110.0000000000000000)), ((300.0000000000000000 270.0000000000000000, 420.0000000000000000 270.0000000000000000, 340.0000000000000000 190.0000000000000000, 220.0000000000000000 190.0000000000000000, 300.0000000000000000 270.0000000000000000))) MULTIPOLYGON (((140.0000000000000000 110.0000000000000000, 260.0000000000000000 110.0000000000000000, 170.0000000000000000 20.0000000000000000, 50.0000000000000000 20.0000000000000000, 140.0000000000000000 110.00000000000 00000)), ((300.0000000000000000 270.0000000000000000, 420.0000000000000000 270.0000000000000000, 340.0000000000000000 190.0000000000000000, 220.0000000000000000 190.0000000000000000, 300.0000000000000000 270.0000000000000000))) POLYGON ((10.0000000000000000 10.0000000000000000, 10.0000000000000000 20.0000000000000000, 20.0000000000000000 20.0000000000000000, 20.0000000000000000 15.0000000000000000, 10.0000000000000000 10.0000000000000000)) GEOMETRYCOLLECTION (POLYGON ((0.0000000000000000 0.0000000000000000, 0.0000000000000000 100.0000000000000000, 100.0000000000000000 100.0000000000000000, 100.0000000000000000 0.0000000000000000, 0.0000000000000000 0.0000000000000000)), LINESTRING (10.0000000000000000 10.0000000000000000, 20.0000000000000000 20.0000000000000000, 30.0000000000000000 40.0000000000000000)) BOX (10.000000 10.000000, 20.000000 20.000000) NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL +create function keyjoin() +returns table ( + key1 integer, + key2 integer, + key3 integer +) +begin + return table ( + select keytest2.key1, keytest2.key2, keytest1.key3 + from keytest1, keytest2 + where keytest1.key1 = keytest2.key1 and keytest1.key2 = keytest2.key2 + ); +end; SET SCHEMA "sys"; ALTER TABLE "testschema"."keytest2" ADD CONSTRAINT "keytest2_key1_key2_fkey" FOREIGN KEY ("key1", "key2") REFERENCES "testschema"."keytest1" ("key1", "key2"); ALTER TABLE "testschema"."selfref" ADD CONSTRAINT "selfref_parentid_fkey" FOREIGN KEY ("parentid") REFERENCES "testschema"."selfref" ("id"); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list