OLD | NEW |
1 /* | 1 /* |
2 ** 2014 May 31 | 2 ** 2014 May 31 |
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 2217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2228 Fts5ExprNode *pNode = pPhrase->pNode; | 2228 Fts5ExprNode *pNode = pPhrase->pNode; |
2229 if( pNode->bEof==0 && pNode->iRowid==pExpr->pRoot->iRowid ){ | 2229 if( pNode->bEof==0 && pNode->iRowid==pExpr->pRoot->iRowid ){ |
2230 *pa = pPhrase->poslist.p; | 2230 *pa = pPhrase->poslist.p; |
2231 nRet = pPhrase->poslist.n; | 2231 nRet = pPhrase->poslist.n; |
2232 }else{ | 2232 }else{ |
2233 *pa = 0; | 2233 *pa = 0; |
2234 nRet = 0; | 2234 nRet = 0; |
2235 } | 2235 } |
2236 return nRet; | 2236 return nRet; |
2237 } | 2237 } |
OLD | NEW |