summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index e1017f04c27..43b3aab1ff4 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -4214,6 +4214,10 @@ public:
length*= charset->mbmaxlen;
key_length= pack_length;
}
+ bool vers_sys_field() const
+ {
+ return flags & (VERS_SYS_START_FLAG | VERS_SYS_END_FLAG);
+ }
void create_length_to_internal_length_bit();
void create_length_to_internal_length_newdecimal();