]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix an initialization problem in FTS1. Ticket #1977. (CVS 3424)
authordrh <drh@noemail.net>
Fri, 15 Sep 2006 16:08:59 +0000 (16:08 +0000)
committerdrh <drh@noemail.net>
Fri, 15 Sep 2006 16:08:59 +0000 (16:08 +0000)
FossilOrigin-Name: 5a18dd88498ca35ca1333d88c4635868d0b61073

ext/fts1/fts1.c
manifest
manifest.uuid

index 3485c188209d0e2cf39ad19c6c63e1aa7f8098f1..a36bae35bef678700239db3f324f8e83ec2ca0f2 100644 (file)
@@ -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<argc; i++){
     n += strlen(argv[i]) + 1;
   }
index 2ef26efd5015acda5d3c1f626895d4a4b725bcb7..61253a5093e56691aa43023d240560a435d75051 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Bug\sfix\sand\sbetter\stesting\sof\sthe\sextended\sresult\scodes.\s(CVS\s3423)
-D 2006-09-15T12:29:16
+C Fix\san\sinitialization\sproblem\sin\sFTS1.\s\sTicket\s#1977.\s(CVS\s3424)
+D 2006-09-15T16:09:00
 F Makefile.in cabd42d34340f49260bc2a7668c38eba8d4cfd99
 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -21,7 +21,7 @@ F ext/README.txt 913a7bd3f4837ab14d7e063304181787658b14e1
 F ext/fts1/README.txt 20ac73b006a70bcfd80069bdaf59214b6cf1db5e
 F ext/fts1/ft_hash.c 3927bd880e65329bdc6f506555b228b28924921b
 F ext/fts1/ft_hash.h 1a35e654a235c2c662d3ca0dfc3138ad60b8b7d5
-F ext/fts1/fts1.c 9fcad5a187e62928a7a573eb09522c66a68c016b
+F ext/fts1/fts1.c ff2b92dd289123bcbd9959207341b4e77fc42317
 F ext/fts1/fts1.h 6060b8f62c1d925ea8356cb1a6598073eb9159a6
 F ext/fts1/fts1_hash.c 3196cee866edbebb1c0521e21672e6d599965114
 F ext/fts1/fts1_hash.h 957d378355ed29f672cd5add012ce8b088a5e089
@@ -399,7 +399,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P ba579ddc4361fc6e8ea66f9385770d70dfe94751
-R a475b58e8b06434ca002d3eeb56da619
+P 78ae74db1cbf605cd421e7ea321e879d3638968e
+R 0dedcde70866a12a23f0808cc8e8baad
 U drh
-Z ae82e82a4719ae81f80e03d37cfdc549
+Z 41df79c93a460e6fa69a8c835c60a380
index 2666bb332d9b49e21ad833af7f8ad361e8f6bd4d..db03962864951f7d56f4985e30c74e50598ee378 100644 (file)
@@ -1 +1 @@
-78ae74db1cbf605cd421e7ea321e879d3638968e
\ No newline at end of file
+5a18dd88498ca35ca1333d88c4635868d0b61073
\ No newline at end of file