aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/sqlvm/sqlvm.go
diff options
context:
space:
mode:
authorTing-Wei Lan <tingwei.lan@cobinhood.com>2019-03-13 17:35:40 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-04-11 10:39:59 +0800
commitf0f86cc530b6a31b076dc71657951eb8167426b0 (patch)
treeed975e2772f8778e53fa0591eab68375936d6731 /core/vm/sqlvm/sqlvm.go
parent5fb0651683c9d188170e8bb93b6d24a183526d07 (diff)
downloaddexon-f0f86cc530b6a31b076dc71657951eb8167426b0.tar
dexon-f0f86cc530b6a31b076dc71657951eb8167426b0.tar.gz
dexon-f0f86cc530b6a31b076dc71657951eb8167426b0.tar.bz2
dexon-f0f86cc530b6a31b076dc71657951eb8167426b0.tar.lz
dexon-f0f86cc530b6a31b076dc71657951eb8167426b0.tar.xz
dexon-f0f86cc530b6a31b076dc71657951eb8167426b0.tar.zst
dexon-f0f86cc530b6a31b076dc71657951eb8167426b0.zip
core: vm: sqlvm: schema: mark if an index are referenced by foreign keys
In order to check foreign keys efficiently during deletion, an index should be marked when it is referenced by foreign keys. Since we now have flags which cannot be declared directly from the source code, two helper functions are added to distinguish between two groups of flags.
Diffstat (limited to 'core/vm/sqlvm/sqlvm.go')
0 files changed, 0 insertions, 0 deletions