mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fix an initialization problem in FTS1. Ticket #1977. (CVS 3424)
FossilOrigin-Name: 5a18dd88498ca35ca1333d88c4635868d0b61073
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user