3
3
SELECT create_barrier(@count_barrier, @barrier_limit);
4
4
create_barrier(@count_barrier, @barrier_limit)
6
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;
6
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;
7
7
if ((SESSION_ID = CONNECTION_ID()), "YES", "NO") GENERATION if ((WAITER_LIMIT = @barrier_limit), "YES", "NO")
9
9
set @count_barrier= "count_barrier";