1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Set the type of the "comment" field to SQLITE_TEXT when outputing the results of an EXPLAIN query. (CVS 5704)

FossilOrigin-Name: 5dff20f4bc8d98017e76d3a771ab49310bddda63
This commit is contained in:
danielk1977
2008-09-16 09:09:19 +00:00
parent 1357d9f5f7
commit 1e522b498b
3 changed files with 9 additions and 8 deletions

View File

@@ -14,7 +14,7 @@
** to version 2.8.7, all this code was combined into the vdbe.c source file.
** But that file was getting too big so this subroutines were split out.
**
** $Id: vdbeaux.c,v 1.409 2008/08/20 22:06:48 drh Exp $
** $Id: vdbeaux.c,v 1.410 2008/09/16 09:09:20 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -901,6 +901,7 @@ int sqlite3VdbeList(
pMem->z = pOp->zComment;
pMem->n = strlen(pMem->z);
pMem->enc = SQLITE_UTF8;
pMem->type = SQLITE_TEXT;
}else
#endif
{