]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If a TEMP TRIGGER references an auxiliary schema, and that auxiliary schema
authordrh <drh@noemail.net>
Tue, 27 Aug 2019 10:05:45 +0000 (10:05 +0000)
committerdrh <drh@noemail.net>
Tue, 27 Aug 2019 10:05:45 +0000 (10:05 +0000)
commit6397a78b2ba93729678ef0ea68d0765e046a360e
tree442024ebdfb05d45c2ee5f8c1bbeab882c726334
parentd790c9a1613334e2fc6b92211911e032ecbf36cf
If a TEMP TRIGGER references an auxiliary schema, and that auxiliary schema
is detached, move the trigger to reference the TEMP schema before completing
the detach, so that the trigger does not hold a dangling schema pointer.

FossilOrigin-Name: 069c2f4c61f06211a8981abc412afcc1536ece13380b13a70aa99123f8f527cd
manifest
manifest.uuid
src/attach.c
src/trigger.c
test/trigger1.test