mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Improved Synopsis on register comparison operators. Fix a bug on the
constraint check generator. FossilOrigin-Name: a7a18b65fa34dfdf6117fa21db3e576f96876617
This commit is contained in:
@@ -1517,7 +1517,7 @@ void sqlite3GenerateConstraintChecks(
|
||||
addrPkConflict, regIdx+x);
|
||||
}
|
||||
x = pPk->aiColumn[i];
|
||||
sqlite3VdbeAddOp3(v, OP_Eq, regOldData+1+x, addrUniqueOk, regIdx+x);
|
||||
sqlite3VdbeAddOp3(v, OP_Eq, regOldData+1+x, addrUniqueOk, regIdx+i);
|
||||
}
|
||||
}else{
|
||||
/* For a UNIQUE index on a WITHOUT ROWID table, conflict only if the
|
||||
|
||||
Reference in New Issue
Block a user