summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-09-04 14:02:01 +0200
committerSergei Golubchik <serg@mariadb.org>2019-09-04 15:37:23 +0200
commit8dca4cf53ff9d738d39730014d79205d6fd014fd (patch)
tree9781e3e4fc2e8c859bafe25a791ee2c456779752 /sql/field.h
parent53ec9047c91c66644799ad058e998a7cfe1afef0 (diff)
downloadmariadb-git-8dca4cf53ff9d738d39730014d79205d6fd014fd.tar.gz
MDEV-20403 Assertion `0' or Assertion `btr_validate_index(index, 0)' failed in row_upd_sec_index_entry or error code 126: Index is corrupted upon UPDATE with TIMESTAMP..ON UPDATE
remove a special treatment of a bare DEFAULT keyword that made it behave inconsistently and differently from DEFAULT(column). Now all forms of the explicit assignment of a default column value behave identically, and all count as an explicitly assigned value (for the purpose of ON UPDATE NOW). followup for c7c481f4d91
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index 73c36affce0..19a716cfd5d 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -990,7 +990,6 @@ public:
{
return bitmap_is_set(&table->has_value_set, field_index);
}
- bool set_explicit_default(Item *value);
virtual bool binary() const { return 1; }
virtual bool zero_pack() const { return 1; }