-- source include/not_embedded.inc
-- source ../include/ps_truncate_all_tables.inc
# Tests for sys schema
# Verify the sys.innodb_lock_waits view

# Ensure structure changes don't slip in
DESC sys.innodb_lock_waits;

# Make sure view select does not error, but ignore results
--disable_result_log
SELECT * FROM sys.innodb_lock_waits;
--enable_result_log


# Ensure structure changes don't slip in
DESC sys.x$innodb_lock_waits;

# Make sure view select does not error, but ignore results
--disable_result_log
SELECT * FROM sys.x$innodb_lock_waits;
--enable_result_log

