summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-06-25 18:17:24 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2012-06-25 18:17:24 +0200
commit072097174c8b91299fe74a3cd7c5248e6e3cfc57 (patch)
tree4f615cec19ce70d727d0d62ffdc31b1509596a2c /sql/field.h
parent2954ed1ec977dab2e6594343455d100d56051473 (diff)
downloadmariadb-git-072097174c8b91299fe74a3cd7c5248e6e3cfc57.tar.gz
fix compile error, when building with oqgraph
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index 3838c924419..f22bab0409d 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -63,6 +63,9 @@ enum Derivation
#define my_charset_numeric my_charset_latin1
#define MY_REPERTOIRE_NUMERIC MY_REPERTOIRE_ASCII
+/* The length of the header part for each virtual column in the .frm file */
+#define FRM_VCOL_HEADER_SIZE(b) (3 + test(b))
+
struct ha_field_option_struct;
struct st_cache_field;