1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-09 11:41:36 +03:00
Files
mariadb/mysql-test/r
unknown 6cad020440 Added maria_zerofill()
This is used to bzero all not used parts of the index pages and compact and bzero the not used parts of the data pages of block-record type
Added --zerofill (-z) option to maria_chk (Mostly code from Jani)
Added now table states ZEROFILLED and MOVEABLE
Set state.changed with new states when things changes


include/maria.h:
  Added maria_zerofill
include/myisamchk.h:
  Added option for zerofill
  Extend testflag to be 64 to allow for more flags
mysql-test/r/create.result:
  Updated results after merge
mysql-test/r/maria.result:
  Updated results after merge
mysys/my_getopt.c:
  Removed not used variable
sql/sql_show.cc:
  Fixed wrong page type
storage/maria/ma_blockrec.c:
  Renamed compact_page() to ma_compact_block_page() and made it global
  Always zerofill half filled blob pages
  Set share.state.changed on REDO
storage/maria/ma_blockrec.h:
  Added _ma_compact_block_page()
storage/maria/ma_check.c:
  Added maria_zerofill()
  This is used to bzero all not used parts of the index pages and compact and bzero the not used parts of the data pages of block-record type
  This gives the following benefits:
  - Table is smaller if compressed
  - All LSN are removed for transactinal tables and this makes them movable between systems
  Dont set table states of we are using --quick
  Changed log entry for repair to use 8 bytes for flag
storage/maria/ma_delete.c:
  Simplify code
  Update state.changed
storage/maria/ma_key_recover.c:
  Update state.changed
storage/maria/ma_locking.c:
  Set uuid for file on first change if it's not set (table was cleared with zerofill)
storage/maria/ma_loghandler.c:
  Updated log entry for REDO_REPAIR_TABLE
storage/maria/ma_recovery.c:
  Updated log entry for REDO_REPAIR_TABLE (flag is now 8 bytes)
  Set new bits in state.changed
storage/maria/ma_test_all.sh:
  Nicer output
storage/maria/ma_test_recovery.expected:
  Updated results (now states flags are visible)
storage/maria/ma_update.c:
  Update state.changed
storage/maria/ma_write.c:
  Simplify code
  Set state.changed
storage/maria/maria_chk.c:
  Added option --zerofill
  Added printing of states for MOVABLE and ZEROFILLED
  MYD -> MAD
  MYI -> MAI
storage/maria/maria_def.h:
  Added states STATE_NOT_MOVABLE and STATE_NOT_ZEROFILLED
  Added prototype for new functions
storage/maria/unittest/ma_test_all-t:
  More tests, including tests for zerofill
  Removed some not needed 'print' statements
storage/maria/unittest/ma_test_loghandler_multithread-t.c:
  Smaller buffer to not trash devlopment machines totally
2007-12-31 11:55:46 +02:00
..
2007-12-28 00:15:29 +01:00
2007-12-31 11:55:46 +02:00
2007-08-02 12:45:56 -07:00
2007-10-27 01:40:48 +05:00
2007-07-23 23:35:43 -07:00
2007-06-28 16:03:01 -07:00
2007-11-01 12:30:03 -07:00
2007-12-01 13:07:28 +04:00
2007-07-06 11:35:10 -07:00
2007-09-26 12:45:08 +02:00
2007-11-05 18:43:13 +04:00
2007-11-24 15:02:29 +04:00
2007-07-23 23:35:43 -07:00
2007-12-31 11:55:46 +02:00
2007-08-31 16:59:07 +05:00
2007-10-24 12:49:58 +05:00
2007-11-20 20:15:20 +04:00
2007-12-13 16:43:38 +04:00
2007-08-02 12:45:56 -07:00
2007-10-24 12:49:58 +05:00
2007-10-27 01:40:48 +05:00
2007-08-22 15:43:16 +03:00
2007-06-28 21:34:54 +04:00
2007-12-19 01:27:15 +01:00
2007-08-31 10:53:51 -06:00
2007-11-26 22:21:46 +03:00
2007-10-29 15:49:56 +04:00
2007-10-04 15:35:45 +05:00
2007-11-18 17:33:12 +04:00