create user user1 with sysadmin password 'Show@123';
create user user2 password 'Show@456';
set dolphin.b_compatibility_mode to off;
drop database if exists show_storage_engines_b;
create database show_storage_engines_b dbcompatibility 'b';
\c show_storage_engines_b
set role user1 password 'Show@123';
create table row_default_tb(id int);
create table row_tb(id int) with (orientation=row);
create table column_tb(id int) with (orientation=column);
SHOW ENGINES;
SHOW STORAGE ENGINES;
show enable_ustore;
set enable_default_ustore_table = on;
show enable_default_ustore_table;
create table ustore_default_tb_1(id int);
create table astore_tb_1(id int) with (storage_type=astore);
create table ustore_tb_1(id int) with (storage_type=ustore);
SHOW ENGINES;
set enable_default_ustore_table = off;
show enable_default_ustore_table;
create table astore_default_tb_2(id int);
create table astore_tb_2(id int) with (storage_type=astore);
create table ustore_tb_2(id int) with (storage_type=ustore);
SHOW ENGINES;
show enable_incremental_checkpoint;
create foreign table mot_tb_1(id int) server mot_server;
SHOW ENGINES;
set role user2 password 'Show@456';
SHOW ENGINES;
SHOW STORAGE ENGINES;
set role user1 password 'Show@123';
set dolphin.b_compatibility_mode to off;
drop database if exists show_storage_engines_nb;
create database show_storage_engines_nb;
\c show_storage_engines_nb
SHOW ENGINES;
SHOW STORAGE ENGINES;