Searched refs:nKey2 (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/libsqlite/src/ |
H A D | btree_rb.c | 185 static int key_compare(void const*pKey1, int nKey1, void const*pKey2, int nKey2) in key_compare() argument 187 int mcmp = memcmp(pKey1, pKey2, (nKey1 <= nKey2)?nKey1:nKey2); in key_compare() 189 if( nKey1 == nKey2 ) return 0; in key_compare() 190 return ((nKey1 < nKey2)?-1:1); in key_compare()
|
H A D | btree.c | 3263 const char *zKey2, int nKey2 in keyCompare() argument 3265 int min = nKey1>nKey2 ? nKey2 : nKey1; in keyCompare() 3268 c = nKey1 - nKey2; in keyCompare() 3304 int nKey1, nKey2; in checkTreePage() local 3347 nKey2 = NKEY(pBt, pCell->h); in checkTreePage() 3348 sz = nKey2 + NDATA(pBt, pCell->h); in checkTreePage() 3358 zKey2 = sqliteMallocRaw( nKey2+1 ); in checkTreePage() 3359 getPayload(&cur, 0, nKey2, zKey2); in checkTreePage() 3360 if( zKey1 && keyCompare(zKey1, nKey1, zKey2, nKey2)>=0 ){ in checkTreePage() 3367 d2 = checkTreePage(pCheck, pgno, pPage, zContext, zKey1,nKey1,zKey2,nKey2); in checkTreePage() [all …]
|