1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-03 20:43:11 +03:00
Files
mariadb/mysql-test/t
Sergei Golubchik 69abd43703 MDEV-17070 Table corruption or Assertion table->file->stats.records > 0 || error' or Assertion !is_set() || (m_status == DA_OK_BULK && is_bulk_op())' failed upon actions on temporary table
This was caused by a combination of factors:
* MyISAM/Aria temporary tables historically never saved the state
  to disk (MYI/MAI), because the state never needed to persist
* certain ALTER TABLE operations modify the original TABLE structure
  and if they fail, the original table has to be reopened to
  revert all changes (m_needs_reopen=1)

as a result, when ALTER fails and MyISAM/Aria temp table gets reopened,
it reads the stale state from the disk.

As a fix, MyISAM/Aria tables now *always* write the state to disk
on close, *unless* HA_EXTRA_PREPARE_FOR_DROP was done first. And
the server now always does HA_EXTRA_PREPARE_FOR_DROP before dropping
a temporary table.
2019-03-12 09:51:42 +01:00
..
2018-05-07 17:19:35 +02:00
2018-11-15 19:21:40 +01:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-11-06 08:41:48 +02:00
2018-11-06 08:41:48 +02:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2018-08-02 08:19:57 +03:00
2017-05-23 11:09:47 +03:00
2018-08-02 08:19:57 +03:00
2018-02-08 13:53:21 +02:00
2017-04-28 20:19:32 +02:00
2018-11-06 08:41:48 +02:00
2017-07-05 19:08:55 +02:00
2017-06-16 09:50:57 -07:00
2017-10-24 14:53:18 +02:00
2017-09-18 10:12:23 +02:00
2019-02-02 11:40:02 +02:00
2018-04-10 17:43:18 +03:00
2018-09-24 11:46:08 +02:00
2018-06-21 23:47:39 +02:00
2017-09-22 02:27:00 +02:00
2018-08-02 08:19:57 +03:00
2018-09-03 10:57:02 +02:00
2019-03-04 16:46:58 +02:00
2017-09-18 10:12:23 +02:00
2018-11-06 08:41:48 +02:00
2018-11-06 08:41:48 +02:00
2018-04-10 17:43:18 +03:00
2017-06-19 16:46:34 +03:00
2017-07-05 17:15:57 +02:00
2017-05-22 09:46:51 +03:00
2018-05-19 22:05:55 +02:00
2019-02-06 22:03:02 +01:00
2017-11-10 01:14:58 +01:00
2019-03-07 17:52:27 +02:00
2019-01-03 09:57:02 +01:00
2018-04-10 17:43:18 +03:00
2018-12-12 10:48:53 +02:00
2017-03-30 12:48:42 +02:00
2018-12-30 18:30:29 +01:00
2019-02-03 17:22:05 +02:00
2018-09-06 22:45:19 +02:00
2018-04-24 09:39:45 +03:00
2018-09-24 11:46:08 +02:00
2019-03-04 16:46:58 +02:00
2019-03-01 12:41:05 -05:00
2019-03-01 12:41:05 -05:00
2019-03-01 12:41:05 -05:00
2018-12-06 15:08:42 +01:00
2018-06-26 18:16:49 +03:00
2019-02-03 17:22:05 +02:00
2018-06-10 17:16:27 +03:00
2019-02-02 13:00:15 +02:00
2018-08-02 08:19:57 +03:00
2018-05-29 16:52:12 +03:00
2017-11-07 23:02:39 +02:00
2018-11-06 08:41:48 +02:00
2018-09-24 11:46:08 +02:00
2018-03-21 10:36:49 +02:00
2018-11-06 08:41:48 +02:00
2019-01-17 11:24:38 +02:00
2018-04-10 17:43:18 +03:00
2018-02-06 14:50:50 +01:00