diff options
Diffstat (limited to 'sql/unireg.h')
-rw-r--r-- | sql/unireg.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/unireg.h b/sql/unireg.h index b22ec23cd51..64763992537 100644 --- a/sql/unireg.h +++ b/sql/unireg.h @@ -214,10 +214,7 @@ #define DEFAULT_KEY_CACHE_NAME "default" /* The length of the header part for each virtual column in the .frm file */ -#define FRM_VCOL_HEADER_SIZE 3 - -/* Maximum length of the defining expression for a virtual columns */ -#define VIRTUAL_COLUMN_EXPRESSION_MAXLEN 255 - FRM_VCOL_HEADER_SIZE +#define FRM_VCOL_HEADER_SIZE(b) (3 + test(b)) /* Include prototypes for unireg */ |