Connection conn;
String url = "pageStore;CACHE_SIZE=0";
conn = getConnection(url);
Statement stat = conn.createStatement();
stat.execute("create local temporary table test(id int)");
conn.rollback();
Connection conn2 = getConnection(url);
Statement stat2 = conn2.createStatement();
stat2.execute("create table test2 as select x from system_range(1, 5000)");
stat2.execute("shutdown immediately");
assertThrows(ErrorCode.DATABASE_IS_CLOSED, conn).close();