- Notifications
You must be signed in to change notification settings - Fork5
Commit3b8bca3
committed
Fix memory arrangement of tsquery after removing stop words. It causes
a unused memory holes in tsquery.Per report by Richard Huxton <dev@archonet.com>.It was working well because in fact tsquery->size is not used for anykind of operation except comparing tsqueries. So, in HEAD it's enough tofix to_tsquery function, but for previous version it's needed toremove optimization in CompareTSQ to prevent requirement of renew allstored tsquery.1 parent588d213 commit3b8bca3
1 file changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
353 | 365 | | |
354 | 366 | | |
355 | 367 | | |
| |||
388 | 400 | | |
389 | 401 | | |
390 | 402 | | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
391 | 415 | | |
392 | 416 | | |
393 | 417 | | |
| |||
0 commit comments
Comments
(0)