Changeset: a39660641ab5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a39660641ab5
Modified Files:
        sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128
Branch: default
Log Message:

Approve snapshot related changes to testdb-upgrade[-chain][-hge]

Edited the file manually, hope I got it right.


diffs (60 lines):

diff --git a/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128
@@ -54,6 +54,11 @@ update sys._tables set system = true whe
 drop function "sys"."var"();
 create function "sys"."var"() returns table("schema" string, "name" string, 
"type" string, "value" string) external name "sql"."sql_variables";
 grant execute on function "sys"."var" to public;
+create user ".snapshot" with encrypted password 
'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
 name 'Snapshot User' schema sys;
+grant execute on procedure sys.hot_snapshot to ".snapshot";
+create procedure sys.hot_snapshot(tarfile string, onserver bool)
+ external name sql.hot_snapshot;
+update sys.functions set system = true where system <> true and schema_id = 
(select id from sys.schemas where name = 'sys') and name in ('hot_snapshot') 
and type = 2;
 update sys.functions set system = true, language = 2, side_effect = false 
where name = 'var' and schema_id = (select id from sys.schemas where name = 
'sys') and type = 5;
 update sys.args set type = 'char' where func_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5) and type = 'clob';
 update sys.privileges set grantor = 0 where obj_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5);
diff --git a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128
@@ -6014,6 +6014,11 @@ update sys._tables set system = true whe
 drop function "sys"."var"();
 create function "sys"."var"() returns table("schema" string, "name" string, 
"type" string, "value" string) external name "sql"."sql_variables";
 grant execute on function "sys"."var" to public;
+create user ".snapshot" with encrypted password 
'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
 name 'Snapshot User' schema sys;
+grant execute on procedure sys.hot_snapshot to ".snapshot";
+create procedure sys.hot_snapshot(tarfile string, onserver bool)
+ external name sql.hot_snapshot;
+update sys.functions set system = true where system <> true and schema_id = 
(select id from sys.schemas where name = 'sys') and name in ('hot_snapshot') 
and type = 2;
 update sys.functions set system = true, language = 2, side_effect = false 
where name = 'var' and schema_id = (select id from sys.schemas where name = 
'sys') and type = 5;
 update sys.args set type = 'char' where func_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5) and type = 'clob';
 update sys.privileges set grantor = 0 where obj_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5);
diff --git a/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128
@@ -59,6 +59,11 @@ update sys._tables set system = true whe
 drop function "sys"."var"();
 create function "sys"."var"() returns table("schema" string, "name" string, 
"type" string, "value" string) external name "sql"."sql_variables";
 grant execute on function "sys"."var" to public;
+create user ".snapshot" with encrypted password 
'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
 name 'Snapshot User' schema sys;
+grant execute on procedure sys.hot_snapshot to ".snapshot";
+create procedure sys.hot_snapshot(tarfile string, onserver bool)
+ external name sql.hot_snapshot;
+update sys.functions set system = true where system <> true and schema_id = 
(select id from sys.schemas where name = 'sys') and name in ('hot_snapshot') 
and type = 2;
 update sys.functions set system = true, language = 2, side_effect = false 
where name = 'var' and schema_id = (select id from sys.schemas where name = 
'sys') and type = 5;
 update sys.args set type = 'char' where func_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5) and type = 'clob';
 update sys.privileges set grantor = 0 where obj_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5);
diff --git a/sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128 
b/sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128
--- a/sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128
+++ b/sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128
@@ -6020,6 +6020,11 @@ update sys._tables set system = true whe
 drop function "sys"."var"();
 create function "sys"."var"() returns table("schema" string, "name" string, 
"type" string, "value" string) external name "sql"."sql_variables";
 grant execute on function "sys"."var" to public;
+create user ".snapshot" with encrypted password 
'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
 name 'Snapshot User' schema sys;
+grant execute on procedure sys.hot_snapshot to ".snapshot";
+create procedure sys.hot_snapshot(tarfile string, onserver bool)
+ external name sql.hot_snapshot;
+update sys.functions set system = true where system <> true and schema_id = 
(select id from sys.schemas where name = 'sys') and name in ('hot_snapshot') 
and type = 2;
 update sys.functions set system = true, language = 2, side_effect = false 
where name = 'var' and schema_id = (select id from sys.schemas where name = 
'sys') and type = 5;
 update sys.args set type = 'char' where func_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5) and type = 'clob';
 update sys.privileges set grantor = 0 where obj_id = (select id from 
sys.functions where name = 'var' and schema_id = (select id from sys.schemas 
where name = 'sys') and type = 5);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to