## Summary
<!--Explain briefly what goes wrong and explain why you believe this is a bug and not the intended behavior of SQLite (if it is not a crash).-->**No review yet**

## Minimized query

```sql
ATTACH DATABASE ':memory:' AS aux93;
.schema
ATTACH DATABASE ':memory:' AS aux34;
.vfsinfo
.system echo "mwahaha i am root"
BEGIN DEFERRED;
PRAGMA auto_vacuum = FULL;
.filectrl main TRUNCATE round(NULL, NULL)
.system echo "mwahaha i am root"
ATTACH DATABASE (':memory:' || '') AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(CAST((x'f54411681ff396af' + CAST(CAST(0 AS INT2) AS ANY)) AS TEXT))), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) IS NOT 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT OUTER JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE +rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x', 1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
.filectrl main TRUNCATE 10
.system echo "mwahaha i am root"
ATTACH DATABASE ':memory:' AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(9223372036854775807)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) > 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x', 1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
.filectrl main TRUNCATE 10
.system echo "mwahaha i am root"
ATTACH DATABASE ':memory:' AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(9223372036854775807)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) > 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x', 1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
CREATE TABLE T1 (
  a INTEGER,
  b TEXT
);
CREATE TABLE T2 (
  a INTEGER,
  b TEXT
);
INSERT INTO T1 VALUES (1,'a'),(2,'b');
INSERT INTO T2 VALUES (1,'c'),(1,'d');
SELECT T1.b,
(
  SELECT GROUP_CONCAT(b,',')
  FROM T2
  WHERE T2.a=T1.a
) AS c
FROM T1;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
.filectrl main TRUNCATE 10
.system echo "mwahaha i am root"
ATTACH DATABASE ':memory:' AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(9223372036854775807)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) > 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x', 1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
.filectrl main TRUNCATE 10
.system echo "mwahaha i am root"
ATTACH DATABASE ':memory:' AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(9223372036854775807)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) > 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x',	1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
.filectrl main TRUNCATE 10
.system echo "mwahaha i am root"
ATTACH DATABASE ':memory:' AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(9223372036854775807)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) > 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x', 1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
.filectrl main TRUNCATE 10
.system echo "mwahaha i am root"
ATTACH DATABASE ':memory:' AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(9223372036854775807)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) > 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x', 1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
.filectrl main TRUNCATE 10
.system echo "mwahaha i am root"
ATTACH DATABASE ':memory:' AS aux15;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (unlikely(-tanh(9223372036854775807)), 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
CREATE TABLE T (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15),
  C BIGINT NOT NULL,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', 3000);
INSERT INTO T VALUES ('b', 'q', 9223372036854775807);
INSERT INTO T VALUES ('c', 'r', 1700);
INSERT INTO T VALUES ('e', 'q', -9223372036854775808);
INSERT INTO T VALUES ('f', 'r', 0);
SELECT B, COUNT(*) AS D, SUM(C) AS E, AVG(C) AS F FROM T GROUP BY B HAVING SUM(C) > 0;
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE NOT t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
((BEGIN)) DEFERRED TRANSACTION;
SAVEPOINT sp8273;
CREATE TABLE t1(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (log2(NULL), 'Wernher', mod(atanh(ifnull(char(65, NULL, 67), 6.283185307179586)), 10), 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2

WITH _m AS MATERIALIZED (SELECT * FROM t1) SELECT * FROM t2;
SELECT b, c FROM _m ORDER BY b, c;
.quit
BEGIN EXCLUSIVE TRANSACTION;
SAVEPOINT sp3516;
ATTACH DATABASE (':memory:' || '') AS aux52;
CREATE TABLE t1(x INTEGER PRIMARY KEY, y, z);
CREATE	TABLE t2(a, b);
CREATE VIEW agg2 AS SELECT a, sum(b) AS m FROM t2 GROUP BY a;
SELECT t1.z, agg2.m FROM t1 LEFT JOIN agg2 ON t1.y=agg2.m WHERE t1.x IN (concat(1, NULL, 1),2,3);
CREATE TABLE t920(x);
INSERT INTO t920 VALUES(3),(4),(5);
SELECT * FROM t920,(SELECT 0 FROM t920),(VALUES(9)) WHERE 5 IN (x);
CREATE  INDEX IF NOT EXISTS idx_t1_9737 ON t1(x COLLATE NOCASE);
DETACH DATABASE aux52;
REINDEX;
WITH cte AS (SELECT x, ROW_NUMBER() OVER (ORDER BY x) AS rn FROM t920) SELECT * FROM cte WHERE rn <= 5;
DELETE FROM t920 WHERE 1;
SELECT * FROM t2 AS a LEFT JOIN t2 AS b ON a.rowid = b.rowid;
ALTER TABLE t2 ADD COLUMN extra_9493 ANY DEFAULT 0;
ROLLBACK TRANSACTION TO SAVEPOINT sp3516;
RELEASE SAVEPOINT sp3516;
END;
DELETE FROM t920 WHERE 1;
SELECT SUM(x) FROM t920;
SELECT AVG(x) FROM t920;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
ROLLBACK TO sp8273;
RELEASE sp8273;
ROLLBACK;
INSERT AND FAIL INTO t2 VALUES (8, '');
SELECT STRING_AGG(x, '|') FROM t920;
SELECT LAST_VALUE(a) OVER (ORDER BY a ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t2;
SELECT * FROM t920 AS a FULL JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE t1 RENAME TO t1_r5761;
CREATE TRIGGER IF NOT EXISTS trg_t2_8136 BEFORE UPDATE ON t2 BEGIN INSERT INTO t2(b) VALUES (NULL); END;
ANALYZE t920;
INSERT OR FAIL INTO t920 VALUES (0);
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN 2 PRECEDING AND 2 FOLLOWING EXCLUDE CURRENT ROW) FROM t2;
ANALYZE;
DROP TABLE IF EXISTS T;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T WHERE 1 = 1);
ANALYZE t920;
DELETE FROM t1 WHERE 1;
ALTER TABLE t920 RENAME COLUMN x TO x_r8875;
VACUUM main;
INSERT INTO T VALUES ('x', 1, 1) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
DELETE FROM t2 WHERE 0;
WITH n AS NOT MATERIALIZED (SELECT * FROM t1) SELECT * FROM n WHERE z > 0;
PRAGMA case_sensitive_like = OFF;
ANALYZE t2;
VACUUM;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
DETACH DATABASE aux15;
SELECT * FROM t1;
SELECT * FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
SELECT COUNT(x) FROM t920;
INSERT INTO t2 VALUES (NULL, NULL);
WITH cte AS (SELECT * FROM T) SELECT * FROM cte WHERE c > 0 UNION ALL SELECT * FROM cte WHERE c <= 0;
UPDATE t1 SET y = '' WHERE y IS NOT NULL RETURNING *;
VACUUM main;
SELECT COUNT(*) FROM T;
INSERT INTO t2 DEFAULT VALUES;
PRAGMA cache_spill = YES;
ALTER TABLE T RENAME COLUMN b TO b_r4554;
ANALYZE t1;
WITH RECURSIVE empty(x) AS (SELECT 1 WHERE 1=0 UNION ALL SELECT x+1 FROM empty WHERE x<10) SELECT * FROM empty;
ALTER TABLE t2 DROP COLUMN b;
WITH cte AS (SELECT * FROM t1) SELECT * FROM cte WHERE z > 0 UNION ALL SELECT * FROM cte WHERE z <= 0;
UPDATE T SET a = -15 WHERE a BETWEEN 0 AND 100 RETURNING *;
SELECT STRING_AGG(z, '|') FROM t1;
CREATE TABLE T1 (
  a INTEGER,
  b TEXT
);
CREATE TABLE T2 (
  a INTEGER,
  b TEXT
);
INSERT INTO T1 VALUES (1,'a'),(2,'b');
INSERT INTO T2 VALUES (1,'c'),(1,'d');
SELECT T1.b,
(
  SELECT GROUP_CONCAT(b,',')
  FROM T2
  WHERE T2.a=T1.a
) AS c
FROM T1;
CREATE  INDEX IF NOT EXISTS idx_t1_5744 ON t1((y + 1));
SELECT NTILE(0) OVER (ORDER BY a GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) FROM t2;
SELECT SUM(b) FILTER (WHERE 1=0) OVER (PARTITION BY b ORDER BY b ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM T1;
END TRANSACTION;
SELECT MAX(a) FROM T2;
SELECT STRING_AGG(b) FROM T1;
SELECT GROUP_CONCAT(c) FROM T;
SELECT COUNT(*) FILTER (WHERE b IS NOT NULL), SUM(rowid) FILTER (WHERE b > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(b) FILTER (WHERE b > 0 AND b < 100), COUNT(*) FILTER (WHERE typeof(b) = "text") FROM t2;
SELECT COUNT(*) FROM T;
VACUUM main;
UPDATE t2 SET a = json_object('k', a) WHERE a BETWEEN 0 AND 100;
SELECT LEAD(c, c) OVER (ORDER BY c ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM T;
SELECT * FROM T1 NATURAL JOIN T1;
CREATE  INDEX IF NOT EXISTS idx_t1_179 ON t1(y) WHERE y IS NOT NULL;
INSERT INTO T2 VALUES (NULL, NULL);
SELECT b, (SELECT MAX(b) FROM T1) AS max_val FROM T1;
CREATE TEMP  VIEW IF NOT EXISTS v_t1_8393 AS SELECT y FROM t1;
CREATE TEMP  VIEW IF NOT EXISTS v_t920_8024 AS SELECT x FROM t920;
SELECT COUNT(*) FROM t920;
INSERT INTO T1 VALUES ('x', NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b;
DETACH DATABASE aux34;
SELECT COUNT(*) FILTER (WHERE x IS NOT NULL), SUM(rowid) FILTER (WHERE x > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(x) FILTER (WHERE x > 0 AND x < 100), COUNT(*) FILTER (WHERE typeof(x) = "text") FROM t920;
SELECT COUNT(*) FROM T1;
CREATE TRIGGER IF NOT EXISTS trg_t1_4853 AFTER UPDATE ON t1 BEGIN INSERT INTO t1(z) VALUES (NULL); END;
SELECT NTILE(-1) OVER (PARTITION BY a ORDER BY a RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING) FROM T1;
INSERT OR FAIL INTO t1 VALUES ('', NULL, 4);
DETACH DATABASE aux93;
SELECT * FROM T;
PRAGMA legacy_alter_table = FALSE;
SELECT LEAD(x, 1, NULL) OVER (PARTITION BY x ORDER BY x RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING EXCLUDE NO OTHERS) FROM t920;
CREATE TEMP  VIEW IF NOT EXISTS v_t1_7818 AS SELECT z FROM t1;
INSERT INTO t920 SELECT * FROM t920;
SELECT * FROM T1;
```

## Actual output

```sql
vfs.zName      = "unix-excl"
vfs.iVersion   = 3
vfs.szOsFile   = 120
vfs.mxPathname = 512
mwahaha i am root
mwahaha i am root
p|1|3000|3000.0
q|2|-1|0.0
r|2|1700|850.0
CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
WARNING: writing to an imposter table will corrupt the "t1bc" index!
Braun|30|3
Wernher|10|0
von|20|2
Braun|30
Wernher|10
von|20
```

## Expectation

```sql
vfs.zName      = "unix-excl"
vfs.iVersion   = 3
vfs.szOsFile   = 120
vfs.mxPathname = 512
mwahaha i am root
mwahaha i am root
p|1|3000|3000.0
q|2|-1|-0.5
r|2|1700|850.0
CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
Braun|30|3
Wernher|10|0
von|20|2
Braun|30
Wernher|10
von|20
```

## Flag

```
-vfs unix-excl
```

