1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-16 22:03:23 +03:00
Files
mariadb/sql
Michael Widenius ecf95c6e7f Fix of LP#616253 Crash in _ma_bitmap_set_full_page_bits on Aria recovery
The bug was based on wrong undo data in recovery file and not enough checking of bad data.

sql/sql_select.h:
  Added comment
storage/maria/ma_blockrec.c:
  - Removed wrong sanity checks (didn't work for UNDO records)
  - More sanity checks and DBUG_ASSERT
  - More DBUG_ENTER and DBUG_PRINT
  - Removed filler blocks in extent_to_bitmap_blocks() as it caused problems in write_block_record().
    This was the main cause of the bug.
    (This change can make records generated by UNDO slightly smaller than original record, which we have to fix
    by correcting row_pos.length before calling write_block_record())
  - Fixed some problems in write_block_record() while doing UNDO.
  - Store header_length without TRANSID_SIZE into recovery log (as UNDO entires doesn't have TRANSID_SIZE)
  - Mark table crashed if something goes wrong during UNDO
storage/maria/maria_def.h:
  Added header_length
2010-08-24 20:17:17 +03:00
..
2010-04-28 14:52:24 +02:00
2010-08-02 12:01:24 +03:00
2010-04-28 14:52:24 +02:00
2010-04-28 14:52:24 +02:00
2010-08-02 12:01:24 +03:00
2010-04-28 14:52:24 +02:00
2010-05-27 20:18:31 +03:00
2010-08-02 12:01:24 +03:00
2010-04-21 02:25:59 +02:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-04-28 14:52:24 +02:00
2010-04-28 14:52:24 +02:00
2010-05-26 21:55:40 +03:00
2010-08-02 12:01:24 +03:00
2010-05-26 21:55:40 +03:00
2010-01-15 17:27:55 +02:00
2010-08-02 12:01:24 +03:00
2009-09-08 00:50:10 +04:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-18 10:52:57 +03:00
2010-04-21 02:25:59 +02:00
2010-08-04 21:36:11 +03:00
2010-08-18 10:52:57 +03:00
2010-08-02 12:01:24 +03:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2009-09-08 00:50:10 +04:00
2010-04-28 14:52:24 +02:00
2009-09-08 00:50:10 +04:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-01-28 19:51:40 -02:00
2010-08-02 12:01:24 +03:00
2010-03-04 09:03:07 +01:00
2010-03-17 19:15:41 +01:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-04-28 14:52:24 +02:00
2010-08-02 12:01:24 +03:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2010-06-11 16:52:06 +04:00
2009-06-17 16:56:44 +02:00
2009-06-17 16:56:44 +02:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2009-08-13 02:34:21 +04:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-03-04 09:03:07 +01:00
2010-03-04 09:03:07 +01:00
2008-12-10 18:16:21 +04:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2009-06-17 16:56:44 +02:00
2010-08-04 21:36:11 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2010-01-24 15:03:23 +08:00
2010-08-02 12:01:24 +03:00
2009-10-13 19:57:36 +03:00
2009-09-08 00:50:10 +04:00
2009-01-14 18:50:51 +04:00
2010-01-25 10:55:05 +08:00
2010-08-02 12:01:24 +03:00
2010-08-04 21:36:11 +03:00
2010-08-02 12:01:24 +03:00
2010-08-02 12:01:24 +03:00
2009-11-03 20:45:52 +03:00
2010-08-04 21:36:11 +03:00
2009-06-17 16:56:44 +02:00
2009-06-17 16:56:44 +02:00
2010-08-02 12:01:24 +03:00
2009-09-08 00:50:10 +04:00