diff options
author | drh <> | 2022-04-18 10:09:29 +0000 |
---|---|---|
committer | drh <> | 2022-04-18 10:09:29 +0000 |
commit | d973268ccfc5c545faa346ad6e6e236a936f6ef2 (patch) | |
tree | 6183d5b2e4d5938e2cb6fcedd0ed0130a4284775 /src | |
parent | abf86bd3133c71c5eae6203699dc9e469f981ab7 (diff) | |
download | sqlite-d973268ccfc5c545faa346ad6e6e236a936f6ef2.tar.gz sqlite-d973268ccfc5c545faa346ad6e6e236a936f6ef2.zip |
Fix the sqlite3SrcListAppendList() routine so that it correctly adds
the JT_LTORJ attribute to the first SrcItem, if needed.
FossilOrigin-Name: 07ed0dca310d828f9fe152efa8ee2a89202771a8f661afa1dbeee34aaabef67a
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build.c b/src/build.c index cf277b907..126897c85 100644 --- a/src/build.c +++ b/src/build.c @@ -5032,6 +5032,7 @@ SrcList *sqlite3SrcListAppendList(Parse *pParse, SrcList *p1, SrcList *p2){ p1 = pNew; memcpy(&p1->a[1], p2->a, p2->nSrc*sizeof(SrcItem)); sqlite3DbFree(pParse->db, p2); + p1->a[0].fg.jointype |= (JT_LTORJ & p1->a[1].fg.jointype); } } return p1; |