Changeset: da145cd85c35 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/da145cd85c35
Modified Files:
sql/backends/monet5/sql_upgrades.c
sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128
sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out
sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.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.int128
sql/test/emptydb/Tests/check.stable.out
sql/test/emptydb/Tests/check.stable.out.32bit
sql/test/emptydb/Tests/check.stable.out.int128
sql/test/testdb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out
sql/test/testdb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
sql/test/testdb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
sql/test/testdb-previous-upgrade/Tests/upgrade.stable.out
sql/test/testdb-previous-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.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.int128
Branch: persistent_sketches
Log Message:
Remove upgrade code for SQL sketch interface. It will not be exposed in SQL.
diffs (truncated from 546 to 300 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
@@ -5844,16 +5844,7 @@ sql_update_default(Client c, mvc *sql, s
"external name \"copy\".get_blocksize;\n"
"create procedure sys.copy_blocksize(size int)\n"
"external name \"copy\".set_blocksize;\n"
- "create aggregate uniques_guess(c integer)\n"
- "returns bigint external name aggr.uniques_guess;\n"
- "grant execute on aggregate uniques_guess(integer) to
public;\n"
- "create aggregate uniques_guess(c bigint)\n"
- "returns bigint external name aggr.uniques_guess;\n"
- "grant execute on aggregate uniques_guess(bigint) to
public;\n"
- "create aggregate uniques_guess(c varchar)\n"
- "returns bigint external name aggr.uniques_guess;\n"
- "grant execute on aggregate uniques_guess(varchar) to
public;\n"
- "update sys.functions set system = true where system <>
true and schema_id = 2000 and name in ('copy_blocksize', 'uniques_guess');\n";
+ "update sys.functions set system = true where system <>
true and schema_id = 2000 and name in ('copy_blocksize');\n";
printf("Running database upgrade commands:\n%s\n", query);
fflush(stdout);
err = SQLstatementIntern(c, query, "update", true, false, NULL);
diff --git
a/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
b/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
---
a/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
+++
b/sql/test/emptydb-previous-upgrade-chain-hge/Tests/upgrade.stable.out.int128
@@ -587,14 +587,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
diff --git a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
--- a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
+++ b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out
@@ -587,14 +587,4 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
-
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
diff --git
a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
--- a/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
+++ b/sql/test/emptydb-previous-upgrade-chain/Tests/upgrade.stable.out.int128
@@ -670,14 +670,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
diff --git
a/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
b/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
--- a/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
+++ b/sql/test/emptydb-previous-upgrade-hge/Tests/upgrade.stable.out.int128
@@ -587,14 +587,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
diff --git a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
--- a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
+++ b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out
@@ -587,14 +587,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
diff --git a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
--- a/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
+++ b/sql/test/emptydb-previous-upgrade/Tests/upgrade.stable.out.int128
@@ -670,14 +670,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
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
@@ -303,14 +303,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
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
@@ -303,14 +303,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
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
@@ -386,14 +386,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
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
@@ -303,14 +303,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
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
@@ -303,14 +303,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
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
@@ -386,14 +386,5 @@ returns int
external name "copy".get_blocksize;
create procedure sys.copy_blocksize(size int)
external name "copy".set_blocksize;
-create aggregate uniques_guess(c integer)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(integer) to public;
-create aggregate uniques_guess(c bigint)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(bigint) to public;
-create aggregate uniques_guess(c varchar)
-returns bigint external name aggr.uniques_guess;
-grant execute on aggregate uniques_guess(varchar) to public;
-update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize', 'uniques_guess');
+update sys.functions set system = true where system <> true and schema_id =
2000 and name in ('copy_blocksize');
diff --git a/sql/test/emptydb/Tests/check.stable.out
b/sql/test/emptydb/Tests/check.stable.out
--- a/sql/test/emptydb/Tests/check.stable.out
+++ b/sql/test/emptydb/Tests/check.stable.out
@@ -2839,9 +2839,6 @@ select 'null in fkeys.delete_action', de
[ "sys.functions", "sys", "truncate", "SYSTEM", "stringleft",
"str", "Internal C", "Scalar function", false, false, false, false,
NULL, "res_0", "varchar", 0, 0, "out", "arg_1",
"varchar", 0, 0, "in", "arg_2", "int", 31, 0,
"in", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "ucase", "SYSTEM", "toUpper",
"str", "Internal C", "Scalar function", false, false, false, false,
NULL, "res_0", "varchar", 0, 0, "out", "arg_1",
"varchar", 0, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "unclosed_result_sets", "SYSTEM", "create
function sys.unclosed_result_sets() returns table(\"query_id\" oid, \"res_id\"
int) external name sql.unclosed_result_sets;", "sql", "MAL", "Function
returning a table", false, false, false, true, NULL, "query_id",
"oid", 63, 0, "out", "res_id", "int", 31, 0, "out",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
-[ "sys.functions", "sys", "uniques_guess", "SYSTEM", "create
aggregate uniques_guess(c bigint) returns bigint external name
aggr.uniques_guess;", "aggr", "MAL", "Aggregate function", false, false,
false, true, NULL, "result", "bigint", 63, 0, "out",
"c", "bigint", 63, 0, "in", NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL ]
-[ "sys.functions", "sys", "uniques_guess", "SYSTEM", "create
aggregate uniques_guess(c integer) returns bigint external name
aggr.uniques_guess;", "aggr", "MAL", "Aggregate function", false, false,
false, true, NULL, "result", "bigint", 63, 0, "out",
"c", "int", 31, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL ]
-[ "sys.functions", "sys", "uniques_guess", "SYSTEM", "create
aggregate uniques_guess(c varchar) returns bigint external name
aggr.uniques_guess;", "aggr", "MAL", "Aggregate function", false, false,
false, true, NULL, "result", "bigint", 63, 0, "out",
"c", "varchar", 0, 0, "in", NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "upper", "SYSTEM", "toUpper",
"str", "Internal C", "Scalar function", false, false, false, false,
NULL, "res_0", "varchar", 0, 0, "out", "arg_1",
"varchar", 0, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "url_extract_host", "SYSTEM", "create
function sys.url_extract_host(url string, no_www bool) returns string external
name url.\"extractURLHost\";", "url", "MAL", "Scalar function", false,
false, false, true, NULL, "result", "varchar", 0, 0,
"out", "url", "varchar", 0, 0, "in", "no_www",
"boolean", 1, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
[ "sys.functions", "sys", "user_statistics", "SYSTEM", "create
function sys.user_statistics() returns table(username string, querycount
bigint, totalticks bigint, started timestamp, finished timestamp, maxticks
bigint, maxquery string) external name sysmon.user_statistics;", "sysmon",
"MAL", "Function returning a table", false, false, false, true,
NULL, "username", "varchar", 0, 0, "out", "querycount",
"bigint", 63, 0, "out", "totalticks", "bigint", 63,
0, "out", "started", "timestamp", 7, 0, "out",
"finished", "timestamp", 7, 0, "out", "maxticks",
"bigint", 63, 0, "out", "maxquery", "varchar", 0,
0, "out", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL ]
@@ -5136,9 +5133,6 @@ select 'null in fkeys.delete_action', de
[ "grant on function", "sys", "to_hex", "public", "EXECUTE",
"monetdb", 0 ]
[ "grant on function", "sys", "tracelog", "public", "EXECUTE",
"monetdb", 0 ]
[ "grant on function", "sys", "unclosed_result_sets", "public",
"EXECUTE", "monetdb", 0 ]
-[ "grant on function", "sys", "uniques_guess", "public",
"EXECUTE", "monetdb", 0 ]
-[ "grant on function", "sys", "uniques_guess", "public",
"EXECUTE", "monetdb", 0 ]
-[ "grant on function", "sys", "uniques_guess", "public",
"EXECUTE", "monetdb", 0 ]
[ "grant on function", "sys", "url_extract_host", "public",
"EXECUTE", "monetdb", 0 ]
[ "grant on function", "sys", "uuid", "public", "EXECUTE",
"monetdb", 0 ]
[ "grant on function", "sys", "uuid", "public", "EXECUTE",
"monetdb", 0 ]
diff --git a/sql/test/emptydb/Tests/check.stable.out.32bit
b/sql/test/emptydb/Tests/check.stable.out.32bit
--- a/sql/test/emptydb/Tests/check.stable.out.32bit
+++ b/sql/test/emptydb/Tests/check.stable.out.32bit
@@ -2835,9 +2835,6 @@ select 'null in fkeys.delete_action', de
[ "sys.functions", "sys", "truncate", "SYSTEM", "stringleft",
"str", "Internal C", "Scalar function", false, false, false, false,
NULL, "res_0", "varchar", 0, 0, "out", "arg_1",
"varchar", 0, 0, "in", "arg_2", "int", 31, 0,
"in", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "ucase", "SYSTEM", "toUpper",
"str", "Internal C", "Scalar function", false, false, false, false,
NULL, "res_0", "varchar", 0, 0, "out", "arg_1",
"varchar", 0, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "unclosed_result_sets", "SYSTEM", "create
function sys.unclosed_result_sets() returns table(\"query_id\" oid, \"res_id\"
int) external name sql.unclosed_result_sets;", "sql", "MAL", "Function
returning a table", false, false, false, true, NULL, "query_id",
"oid", 31, 0, "out", "res_id", "int", 31, 0, "out",
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
-[ "sys.functions", "sys", "uniques_guess", "SYSTEM", "create
aggregate uniques_guess(c bigint) returns bigint external name
aggr.uniques_guess;", "aggr", "MAL", "Aggregate function", false, false,
false, true, NULL, "result", "bigint", 63, 0, "out",
"c", "bigint", 63, 0, "in", NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL ]
-[ "sys.functions", "sys", "uniques_guess", "SYSTEM", "create
aggregate uniques_guess(c integer) returns bigint external name
aggr.uniques_guess;", "aggr", "MAL", "Aggregate function", false, false,
false, true, NULL, "result", "bigint", 63, 0, "out",
"c", "int", 31, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL ]
-[ "sys.functions", "sys", "uniques_guess", "SYSTEM", "create
aggregate uniques_guess(c varchar) returns bigint external name
aggr.uniques_guess;", "aggr", "MAL", "Aggregate function", false, false,
false, true, NULL, "result", "bigint", 63, 0, "out",
"c", "varchar", 0, 0, "in", NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "upper", "SYSTEM", "toUpper",
"str", "Internal C", "Scalar function", false, false, false, false,
NULL, "res_0", "varchar", 0, 0, "out", "arg_1",
"varchar", 0, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL ]
[ "sys.functions", "sys", "url_extract_host", "SYSTEM", "create
function sys.url_extract_host(url string, no_www bool) returns string external
name url.\"extractURLHost\";", "url", "MAL", "Scalar function", false,
false, false, true, NULL, "result", "varchar", 0, 0,
"out", "url", "varchar", 0, 0, "in", "no_www",
"boolean", 1, 0, "in", NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
]
[ "sys.functions", "sys", "user_statistics", "SYSTEM", "create
function sys.user_statistics() returns table(username string, querycount
bigint, totalticks bigint, started timestamp, finished timestamp, maxticks
bigint, maxquery string) external name sysmon.user_statistics;", "sysmon",
"MAL", "Function returning a table", false, false, false, true,
NULL, "username", "varchar", 0, 0, "out", "querycount",
"bigint", 63, 0, "out", "totalticks", "bigint", 63,
0, "out", "started", "timestamp", 7, 0, "out",
"finished", "timestamp", 7, 0, "out", "maxticks",
"bigint", 63, 0, "out", "maxquery", "varchar", 0,
0, "out", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL ]
@@ -5148,9 +5145,6 @@ select 'null in fkeys.delete_action', de
[ "grant on function", "sys", "to_hex", "public", "EXECUTE",
"monetdb", 0 ]
[ "grant on function", "sys", "tracelog", "public", "EXECUTE",
"monetdb", 0 ]
[ "grant on function", "sys", "unclosed_result_sets", "public",
"EXECUTE", "monetdb", 0 ]
-[ "grant on function", "sys", "uniques_guess", "public",
"EXECUTE", "monetdb", 0 ]
-[ "grant on function", "sys", "uniques_guess", "public",
"EXECUTE", "monetdb", 0 ]
-[ "grant on function", "sys", "uniques_guess", "public",
"EXECUTE", "monetdb", 0 ]
[ "grant on function", "sys", "url_extract_host", "public",
"EXECUTE", "monetdb", 0 ]
[ "grant on function", "sys", "uuid", "public", "EXECUTE",
"monetdb", 0 ]
[ "grant on function", "sys", "uuid", "public", "EXECUTE",
"monetdb", 0 ]
diff --git a/sql/test/emptydb/Tests/check.stable.out.int128
b/sql/test/emptydb/Tests/check.stable.out.int128
--- a/sql/test/emptydb/Tests/check.stable.out.int128
+++ b/sql/test/emptydb/Tests/check.stable.out.int128
@@ -2951,9 +2951,6 @@ select 'null in fkeys.delete_action', de
[ "sys.functions", "sys", "truncate", "SYSTEM", "stringleft",
"str", "Internal C", "Scalar function", false, false, false, false,
NULL, "res_0", "varchar", 0, 0, "out", "arg_1",
"varchar", 0, 0, "in", "arg_2", "int", 31, 0,
"in", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL ]
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]