Consider the following test case:

<pre>
CREATE VIRTUAL TABLE vt0 USING fts4(c0, order=DESC);
INSERT INTO vt0(c0) VALUES (0), (0);
INSERT INTO vt0(vt0) VALUES('integrity-check'); database disk image is malformed
</pre>

Unexpectedly, the integrity-check results in an error "database disk image is malformed".