1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Get things compiling cleanly with MSVC and W4.

FossilOrigin-Name: c8725fa5fa361959b0f0a3fb36f204905d6f0ae9
This commit is contained in:
mistachkin
2015-01-12 18:52:41 +00:00
parent 1a51ce78ba
commit 7bb6e8e169
5 changed files with 14 additions and 13 deletions

View File

@@ -3823,8 +3823,8 @@ case OP_Found: { /* jump, in3 */
/* For the OP_NoConflict opcode, take the jump if any of the
** input fields are NULL, since any key with a NULL will not
** conflict */
for(ii=0; ii<r.nField; ii++){
if( r.aMem[ii].flags & MEM_Null ){
for(ii=0; ii<pIdxKey->nField; ii++){
if( pIdxKey->aMem[ii].flags & MEM_Null ){
pc = pOp->p2 - 1; VdbeBranchTaken(1,2);
break;
}