diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-07-01 21:49:01 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-07-01 22:30:09 +0200 |
commit | 06acd7a2fc334dd643c93229b60069eb2d48f749 (patch) | |
tree | 7541620fdad76d82997e115a8d28bef9de9f91e4 /sql/field.h | |
parent | c3e06381ab67cb8c45dbed466fcce3ea976441bb (diff) | |
download | mariadb-git-06acd7a2fc334dd643c93229b60069eb2d48f749.tar.gz |
don't save vcol flags in frm
this is useless now, flags are recalculated on load anyway.
But storing flags on disk means we cannot easily change (add,
remove, or renumber) them in the new MariaDB version.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index afc9efab57c..05e0615a163 100644 --- a/sql/field.h +++ b/sql/field.h @@ -396,7 +396,7 @@ enum Derivation /* The length of the header part for each virtual column in the .frm file */ #define FRM_VCOL_OLD_HEADER_SIZE(b) (3 + MY_TEST(b)) #define FRM_VCOL_NEW_BASE_SIZE 16 -#define FRM_VCOL_NEW_HEADER_SIZE 7 +#define FRM_VCOL_NEW_HEADER_SIZE 6 class Count_distinct_field; |