Ensure that the datatype for column t1.x in CREATE TABLE t1 AS SELECT CAST(7 AS INT) AS x;
continues to be INT and is not NUM, for historical compatibility.
Enhance PRAGMA integrity_check to detect when extra bytes appear at the end of an index record.
Fix various obscure bugs.