# Regression tests for incorrect concurrent usage of the txn in the internal
# executor (#62415).
statement ok
SHOW JOBS WHEN COMPLETE SELECT job_id FROM [SHOW JOBS] WHERE job_type = 'SCHEMA CHANGE GC' AND  description like '%idx1%';

statement ok
SELECT a.job_id, b.job_id FROM [SHOW JOBS] a, [SHOW JOBS] b;


# Regression tests for panic when SET avoid_buffering = true has been called. (#98204)
user testuser

statement ok
SET avoid_buffering = true;

statement ok
CREATE TABLE t (i INT PRIMARY KEY);

statement ok
SELECT has_table_privilege('testuser', 't', 'SELECT');
