diff options
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h index 7006e0bfbe8..da78a7c7674 100644 --- a/sql/field.h +++ b/sql/field.h @@ -342,6 +342,15 @@ public: unireg_check == TIMESTAMP_DNUN_FIELD; } + /* + Mark the field as having a value supplied by the client, thus it should + not be auto-updated. + */ + void set_has_explicit_value() + { + flags|= HAS_EXPLICIT_VALUE; + } + virtual void set_explicit_default(Item *value); /** |