SQLite

View Ticket
Login
Ticket Hash: 02f0f4c54f2819b3623e6f86128086a83b0a1b62
Title: The ".dump" comman crashes following PRAGMA empty_result_callbacks=1
Status: Fixed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Unknown Resolution: Fixed
Last Modified: 2017-08-28 11:13:08
Version Found In:
User Comments:
drh added on 2017-08-28 10:57:31: (text/x-fossil-wiki)
The following script causes the command-line shell to crash:

<blockquote><verbatim>
PRAGMA empty_result_callbacks=1;
.dump
</verbatim></blockquote>

This is a problem in the command-line shell program, not the the core SQLite
library.  The problem seems to have been introduced by check-in
[a0028d4808275c] on 2009-05-21 and first appeared in SQLite 3.6.15.