1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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 c7c481f4d9
This commit is contained in:
Sergei Golubchik
2019-09-04 14:02:01 +02:00
parent 53ec9047c9
commit 8dca4cf53f
7 changed files with 56 additions and 40 deletions

View File

@ -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; }