Skip to content
Snippets Groups Projects
Commit 535decdf authored by Andrey Saranchin's avatar Andrey Saranchin Committed by Aleksandr Lyapunov
Browse files

core: drop constraints in two phases

Currently, core constraints are dropped on commit. That is why
it is impossible to drop constraint and drop objects it references to
at the same transaction. Let's drop constraints in two steps - detach
them when DDL occurs, then reattach on rollback or delete on commit.

Closes #7339

NO_DOC=bugfix

(cherry picked from commit f72efbc2)
parent ea4c2567
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment