From ae2f2048df735957ce798b64a1e6fd984d0850e8 Mon Sep 17 00:00:00 2001 From: drh Date: Fri, 15 Sep 2006 16:08:59 +0000 Subject: [PATCH] Fix an initialization problem in FTS1. Ticket #1977. (CVS 3424) FossilOrigin-Name: 5a18dd88498ca35ca1333d88c4635868d0b61073 --- ext/fts1/fts1.c | 2 +- manifest | 12 ++++++------ manifest.uuid | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ext/fts1/fts1.c b/ext/fts1/fts1.c index 3485c18820..a36bae35be 100644 --- a/ext/fts1/fts1.c +++ b/ext/fts1/fts1.c @@ -1669,7 +1669,7 @@ int parseSpec(TableSpec *pSpec, int argc, const char *const*argv, char**pzErr){ ** The argv[][] array is read-only and transient. We can write to the ** copy in order to modify things and the copy is persistent. */ - memset(pSpec, 0, sizeof(pSpec)); + memset(pSpec, 0, sizeof(*pSpec)); for(i=n=0; i