Remove the unused fts5BlobCompare() routine.

FossilOrigin-Name: defc762dd11144402abd591278819768a080d5ea
This commit is contained in:
drh
2016-02-11 21:53:57 +00:00
parent df9c59f74d
commit 5d2e2f1267
3 changed files with 8 additions and 19 deletions
-11
View File
@@ -607,17 +607,6 @@ static int fts5BufferCompare(Fts5Buffer *pLeft, Fts5Buffer *pRight){
return (res==0 ? (pLeft->n - pRight->n) : res);
}
#ifdef SQLITE_DEBUG
static int fts5BlobCompare(
const u8 *pLeft, int nLeft,
const u8 *pRight, int nRight
){
int nCmp = MIN(nLeft, nRight);
int res = memcmp(pLeft, pRight, nCmp);
return (res==0 ? (nLeft - nRight) : res);
}
#endif
static int fts5LeafFirstTermOff(Fts5Data *pLeaf){
int ret;
fts5GetVarint32(&pLeaf->p[pLeaf->szLeaf], ret);