10
10
set @count_barrier= "count_barrier";
12
12
SELECT create_barrier(@count_barrier, @barrier_limit);
13
SELECT if ((SESSION_ID = CONNECTION_ID()), "YES", "NO"), GENERATION, if ((WAITER_LIMIT = @barrier_limit), "YES", "NO") from DATA_DICTIONARY.USER_BARRIERS WHERE USER_BARRIER_NAME=@count_barrier ORDER BY USER_BARRIER_NAME;
13
SELECT if ((SESSION_ID = CONNECTION_ID()), "YES", "NO"), GENERATION, if ((WAITER_LIMIT = @barrier_limit), "YES", "NO") from DATA_DICTIONARY.USER_DEFINED_BARRIERS WHERE USER_BARRIER_NAME=@count_barrier ORDER BY USER_BARRIER_NAME;
16
16
set @count_barrier= "count_barrier";