diff options
author | Monty <monty@mariadb.org> | 2018-06-16 12:03:15 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-06-19 16:23:34 +0300 |
commit | 831df10981b7851871e1f3b8f04079df0cf5da36 (patch) | |
tree | a251a9030404924711ed8c7cdbd5da223e455cc4 /sql/field.h | |
parent | 5ba6cee01255186ea77a69f122d3a15c07f44f6d (diff) | |
download | mariadb-git-831df10981b7851871e1f3b8f04079df0cf5da36.tar.gz |
Add PART_INDIRECT_KEY_FLAG
This is to mark that a field is indirectly part of a key, which simplifes
checking if we need to have this field up to date to evaluate a key.
For example:
CREATE TABLE t1 (a int, b int as (a) virtual,
c int as (b) virtual, index(c))
would mark a and b with PART_INDIRECT_KEY_FLAG.
c is marked with PART_KEY_FLAG as before.
Diffstat (limited to 'sql/field.h')
0 files changed, 0 insertions, 0 deletions