summaryrefslogtreecommitdiff
path: root/sql/share
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-09-14 15:06:58 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-09-14 15:06:58 +0300
commitaba5c72be28cbd3028623070b7bf3d7d1e128be1 (patch)
tree480989f3f9422c1ab2973b6e11b780be7e5c16dd /sql/share
parented49f9aae2ad4f8d89294e91fba6a9ec704ded49 (diff)
downloadmariadb-git-aba5c72be28cbd3028623070b7bf3d7d1e128be1.tar.gz
MDEV-17196 Crash during instant ADD COLUMN with long DEFAULT value
A debug assertion would fail if an instant ADD COLUMN operation involves splitting the leftmost leaf page and storing a default value off-page. Another debug assertion could fail if the default value does not fit in an undo log page. btr_cur_pessimistic_update(): Invoke rec_offs_make_valid() in order to prevent rec_offs_validate() assertion failure. innobase_add_instant_try(): Invoke btr_cur_pessimistic_update() with the BTR_KEEP_POS_FLAG, which is the correct course of action when BLOBs may need to be written. Whenever returning true, ensure that my_error() will have been called.
Diffstat (limited to 'sql/share')
0 files changed, 0 insertions, 0 deletions