OLD | NEW |
1 /* | 1 /* |
2 ** 2001 September 22 | 2 ** 2001 September 22 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 pH->count++; | 374 pH->count++; |
375 assert( pH->htsize>0 ); | 375 assert( pH->htsize>0 ); |
376 assert( (pH->htsize & (pH->htsize-1))==0 ); | 376 assert( (pH->htsize & (pH->htsize-1))==0 ); |
377 h = hraw & (pH->htsize-1); | 377 h = hraw & (pH->htsize-1); |
378 fts3HashInsertElement(pH, &pH->ht[h], new_elem); | 378 fts3HashInsertElement(pH, &pH->ht[h], new_elem); |
379 new_elem->data = data; | 379 new_elem->data = data; |
380 return 0; | 380 return 0; |
381 } | 381 } |
382 | 382 |
383 #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ | 383 #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3) */ |
OLD | NEW |