My implementation of

   http://www.sqlite.org/src/artifact/400384798349d658?ln=94-96

returns "corrupt" plus a trailing zero, that is 8 characters in total.

Maybe this line

   http://www.sqlite.org/src/artifact/4fdbc0a321e3a1d7?ln=5364

should be corrected to

   sqlite3Fts5BufferSet(&rc, &s, 7, (const u8*)"corrupt");

so that the number of characters passed matches the length of "corrupt".

Ralf

Reply via email to