diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-12-15 21:54:18 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-12-15 21:54:18 +0100 |
commit | 47f5632d6060a7f264829ea8a5dc0dfe374e18b7 (patch) | |
tree | 001649f80a9d4f21889b39f949c2e4c89e93b005 /INSTALL-WIN-SOURCE | |
parent | 2217717ff65f01409ec9840eeaa4951c62652612 (diff) | |
download | mariadb-git-47f5632d6060a7f264829ea8a5dc0dfe374e18b7.tar.gz |
MDEV-3837 Assertion `table->read_set == &table->def_read_set' failed on updating a performance_schema table
This was failing not only for P_S, but for any engine that had
HA_PRIMARY_KEY_REQUIRED_FOR_DELETE flag set (in the tree - only P_S and federated).
Because of this flag, read_set and write_set were (possibly) changed
on update. But later the code modified these bitmaps and restored them to the default
state, losing HA_PRIMARY_KEY_REQUIRED_FOR_DELETE related changes.
sql/handler.cc:
small optimization.
don't change the *write* set only because all columns has to be *read*
Diffstat (limited to 'INSTALL-WIN-SOURCE')
0 files changed, 0 insertions, 0 deletions