diff options
author | drh <> | 2024-08-17 23:23:23 +0000 |
---|---|---|
committer | drh <> | 2024-08-17 23:23:23 +0000 |
commit | b204b6aa7bd94252c8043f53701f314ee433bafd (patch) | |
tree | f04c3e135374b5327a0efcc17ceca3e0466131a9 /src/upsert.c | |
parent | 8797bd695f97db094bf10e546170d7b1e266867c (diff) | |
download | sqlite-b204b6aa7bd94252c8043f53701f314ee433bafd.tar.gz sqlite-b204b6aa7bd94252c8043f53701f314ee433bafd.zip |
Give unique names to fields in the SrcItem object, to facilitate analysis of
how those fields are used using "grep".
FossilOrigin-Name: 9f5aeef3cbc2c95267c8f7bf60d5c66971a76789669fb0e8f853273ff6f616f2
Diffstat (limited to 'src/upsert.c')
-rw-r--r-- | src/upsert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upsert.c b/src/upsert.c index f74d4fabf..82295d52a 100644 --- a/src/upsert.c +++ b/src/upsert.c @@ -104,7 +104,7 @@ int sqlite3UpsertAnalyzeTarget( int nClause = 0; /* Counter of ON CONFLICT clauses */ assert( pTabList->nSrc==1 ); - assert( pTabList->a[0].pTab!=0 ); + assert( pTabList->a[0].pSTab!=0 ); assert( pUpsert!=0 ); assert( pUpsert->pUpsertTarget!=0 ); @@ -123,7 +123,7 @@ int sqlite3UpsertAnalyzeTarget( if( rc ) return rc; /* Check to see if the conflict target matches the rowid. */ - pTab = pTabList->a[0].pTab; + pTab = pTabList->a[0].pSTab; pTarget = pUpsert->pUpsertTarget; iCursor = pTabList->a[0].iCursor; if( HasRowid(pTab) |