Fix mx tests

velioglu/tmpfuncprop
Burak Velioglu 2022-02-10 01:54:35 +03:00
parent 0cfe2375b6
commit 814e1a95de
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
2 changed files with 4 additions and 0 deletions

View File

@ -833,11 +833,13 @@ EXECUTE router_with_only_function;
SET citus.log_local_commands TO ON;
SET search_path TO coordinator_evaluation_combinations_modify;
-- returns 2 on the worker
SET citus.enable_metadata_sync TO OFF;
CREATE OR REPLACE FUNCTION get_constant_stable()
RETURNS INT AS $$
BEGIN
RETURN 2;
END; $$ language plpgsql STABLE;
RESET citus.enable_metadata_sync;
-- all local values
INSERT INTO user_info_data (user_id, u_data) VALUES
(3, '(''test3'', 3)'), (4, '(''test4'', 4)'), (7, '(''test7'', 7)'),

View File

@ -275,11 +275,13 @@ SET citus.log_local_commands TO ON;
SET search_path TO coordinator_evaluation_combinations_modify;
-- returns 2 on the worker
SET citus.enable_metadata_sync TO OFF;
CREATE OR REPLACE FUNCTION get_constant_stable()
RETURNS INT AS $$
BEGIN
RETURN 2;
END; $$ language plpgsql STABLE;
RESET citus.enable_metadata_sync;
-- all local values