Commit b3939a3
committed
MDEV-12720 recovery fails with "Generic error" for ROW_FORMAT=compressed
This bug was introduced in the fix of MDEV-12123, which invoked page_zip_write_header() in the wrong way. page_zip_write_header(): Assert that the length is not zero, to be compatible with page_zip_parse_write_header(). btr_root_raise_and_insert(): Update the uncompressed page and then invoke page_zip_write_header() with the correct length.1 parent d0ce870 commit b3939a3
File tree
4 files changed
+48
-8
lines changed- mysql-test/suite/innodb_zip
- r
- t
- storage/innobase
- btr
- page
4 files changed
+48
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1991 | 1991 | | |
1992 | 1992 | | |
1993 | 1993 | | |
1994 | | - | |
1995 | | - | |
1996 | | - | |
1997 | | - | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
1998 | 1997 | | |
1999 | 1998 | | |
2000 | 1999 | | |
| |||
2004 | 2003 | | |
2005 | 2004 | | |
2006 | 2005 | | |
2007 | | - | |
2008 | | - | |
2009 | | - | |
2010 | | - | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
2011 | 2009 | | |
2012 | 2010 | | |
2013 | 2011 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4634 | 4634 | | |
4635 | 4635 | | |
4636 | 4636 | | |
| 4637 | + | |
4637 | 4638 | | |
4638 | 4639 | | |
4639 | 4640 | | |
| |||
0 commit comments