1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

The DO UPDATE code generator searches for the correct ON CONFLICT clause to

use.

FossilOrigin-Name: a47e35ee2d901baaa37e7229d190f934e1b0bd3510147cd4a2a49c4a1411416a
This commit is contained in:
drh
2020-12-10 12:49:26 +00:00
parent e84ad92f17
commit 91f2717f22
4 changed files with 31 additions and 17 deletions

View File

@@ -3086,11 +3086,12 @@ struct Upsert {
** information from the INSERT processing down into the UPDATE processing
** while generating code. The fields below are owned by the INSERT
** statement and will be freed by INSERT processing. */
Index *pUpsertIdx; /* Constraint that pUpsertTarget identifies */
Index *pUpsertIdx; /* UNIQUE constraint specified by pUpsertTarget */
SrcList *pUpsertSrc; /* Table to be updated */
int regData; /* First register holding array of VALUES */
int iDataCur; /* Index of the data cursor */
int iIdxCur; /* Index of the first index cursor */
int addrGenericUpdate; /* Address of routine for generic DO UPDATE */
};
/*