Home
last modified time | relevance | path

Searched refs:nKey2 (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c182 static int key_compare(void const*pKey1, int nKey1, void const*pKey2, int nKey2) in key_compare() argument
184 int mcmp = memcmp(pKey1, pKey2, (nKey1 <= nKey2)?nKey1:nKey2); in key_compare()
186 if( nKey1 == nKey2 ) return 0; in key_compare()
187 return ((nKey1 < nKey2)?-1:1); in key_compare()
H A Dbtree.c3261 const char *zKey2, int nKey2 in keyCompare() argument
3263 int min = nKey1>nKey2 ? nKey2 : nKey1; in keyCompare()
3266 c = nKey1 - nKey2; in keyCompare()
3302 int nKey1, nKey2; in checkTreePage() local
3345 nKey2 = NKEY(pBt, pCell->h); in checkTreePage()
3346 sz = nKey2 + NDATA(pBt, pCell->h); in checkTreePage()
3356 zKey2 = sqliteMallocRaw( nKey2+1 ); in checkTreePage()
3357 getPayload(&cur, 0, nKey2, zKey2); in checkTreePage()
3358 if( zKey1 && keyCompare(zKey1, nKey1, zKey2, nKey2)>=0 ){ in checkTreePage()
3365 d2 = checkTreePage(pCheck, pgno, pPage, zContext, zKey1,nKey1,zKey2,nKey2); in checkTreePage()
[all …]