Changeset: d515afcd5750 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/d515afcd5750 Modified Files: sql/backends/monet5/sql_upgrades.c sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.ppc64.int128 sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.32bit sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64 sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 sql/test/emptydb-upgrade/Tests/upgrade.stable.out sql/test/emptydb-upgrade/Tests/upgrade.stable.out.32bit sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.32bit 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 sql/test/testdb-upgrade/Tests/upgrade.stable.out.32bit sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128 Branch: Jul2021 Log Message:
Typo. diffs (240 lines): diff --git a/sql/backends/monet5/sql_upgrades.c b/sql/backends/monet5/sql_upgrades.c --- a/sql/backends/monet5/sql_upgrades.c +++ b/sql/backends/monet5/sql_upgrades.c @@ -2382,7 +2382,7 @@ sql_update_jul2021(Client c, mvc *sql, c "create function sys.current_sessionid() returns int\n" "external name clients.current_sessionid;\n" "grant execute on function sys.current_sessionid to public;\n" - "update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = %d;\n", (int) F_FUNC); + "update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = %d;\n", (int) F_FUNC); /* 25_debug.sql */ pos += snprintf(buf + pos, bufsize - pos, diff --git a/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128 @@ -4145,7 +4145,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.ppc64.int128 b/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.ppc64.int128 --- a/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.ppc64.int128 +++ b/sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.ppc64.int128 @@ -4145,7 +4145,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.32bit b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.32bit --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.32bit +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.32bit @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128 @@ -4219,7 +4219,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64 b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64 --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64 +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64 @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 --- a/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 +++ b/sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.ppc64.int128 @@ -4219,7 +4219,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128 @@ -4145,7 +4145,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out --- a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out +++ b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.32bit b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.32bit --- a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.32bit +++ b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.32bit @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 --- a/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 +++ b/sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128 @@ -4219,7 +4219,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); 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 @@ -4145,7 +4145,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out --- a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out +++ b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.32bit b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.32bit --- a/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.32bit +++ b/sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.32bit @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); 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 @@ -4219,7 +4219,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); 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 @@ -4145,7 +4145,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/testdb-upgrade/Tests/upgrade.stable.out b/sql/test/testdb-upgrade/Tests/upgrade.stable.out --- a/sql/test/testdb-upgrade/Tests/upgrade.stable.out +++ b/sql/test/testdb-upgrade/Tests/upgrade.stable.out @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); diff --git a/sql/test/testdb-upgrade/Tests/upgrade.stable.out.32bit b/sql/test/testdb-upgrade/Tests/upgrade.stable.out.32bit --- a/sql/test/testdb-upgrade/Tests/upgrade.stable.out.32bit +++ b/sql/test/testdb-upgrade/Tests/upgrade.stable.out.32bit @@ -3550,7 +3550,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); 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 @@ -4219,7 +4219,7 @@ drop procedure sys.vacuum(string, string create function sys.current_sessionid() returns int external name clients.current_sessionid; grant execute on function sys.current_sessionid to public; -update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' = 1; +update sys.functions set system = true where system <> true and schema_id = 2000 and name = 'current_sessionid' and type = 1; drop procedure sys.flush_log(); drop function sys.deltas(string); drop function sys.deltas(string, string); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list