mirror of https://github.com/citusdata/citus.git
Fix mx tests
parent
0cfe2375b6
commit
814e1a95de
|
@ -833,11 +833,13 @@ EXECUTE router_with_only_function;
|
||||||
SET citus.log_local_commands TO ON;
|
SET citus.log_local_commands TO ON;
|
||||||
SET search_path TO coordinator_evaluation_combinations_modify;
|
SET search_path TO coordinator_evaluation_combinations_modify;
|
||||||
-- returns 2 on the worker
|
-- returns 2 on the worker
|
||||||
|
SET citus.enable_metadata_sync TO OFF;
|
||||||
CREATE OR REPLACE FUNCTION get_constant_stable()
|
CREATE OR REPLACE FUNCTION get_constant_stable()
|
||||||
RETURNS INT AS $$
|
RETURNS INT AS $$
|
||||||
BEGIN
|
BEGIN
|
||||||
RETURN 2;
|
RETURN 2;
|
||||||
END; $$ language plpgsql STABLE;
|
END; $$ language plpgsql STABLE;
|
||||||
|
RESET citus.enable_metadata_sync;
|
||||||
-- all local values
|
-- all local values
|
||||||
INSERT INTO user_info_data (user_id, u_data) VALUES
|
INSERT INTO user_info_data (user_id, u_data) VALUES
|
||||||
(3, '(''test3'', 3)'), (4, '(''test4'', 4)'), (7, '(''test7'', 7)'),
|
(3, '(''test3'', 3)'), (4, '(''test4'', 4)'), (7, '(''test7'', 7)'),
|
||||||
|
|
|
@ -275,11 +275,13 @@ SET citus.log_local_commands TO ON;
|
||||||
SET search_path TO coordinator_evaluation_combinations_modify;
|
SET search_path TO coordinator_evaluation_combinations_modify;
|
||||||
|
|
||||||
-- returns 2 on the worker
|
-- returns 2 on the worker
|
||||||
|
SET citus.enable_metadata_sync TO OFF;
|
||||||
CREATE OR REPLACE FUNCTION get_constant_stable()
|
CREATE OR REPLACE FUNCTION get_constant_stable()
|
||||||
RETURNS INT AS $$
|
RETURNS INT AS $$
|
||||||
BEGIN
|
BEGIN
|
||||||
RETURN 2;
|
RETURN 2;
|
||||||
END; $$ language plpgsql STABLE;
|
END; $$ language plpgsql STABLE;
|
||||||
|
RESET citus.enable_metadata_sync;
|
||||||
|
|
||||||
|
|
||||||
-- all local values
|
-- all local values
|
||||||
|
|
Loading…
Reference in New Issue