mariadb/storage/myisammrg
Monty b1d81974b2 Added support to MEM_ROOT for write protected memory
This is useful for thing like Item_true and Item_false that we
allocated and initalize once and want to ensure that nothing can
change them

Main changes:
- Memory protection is achived by allocating memory with mmap() and
  protect it from write with mprotect()
- init_alloc_root(...,MY_ROOT_USE_MPROTECT) will create a
  memroot that one can later use with protect_root() to turn it
  read only or turn it back to read-write. All allocations to this
  memroot is done with mmap() to ensure page alligned allocations.
- alloc_root() code was rearranged to combine normal and valgrind code.
- init_alloc_root() now changes block size to be power of 2's, to get less
  memory fragmentation.
- Changed MEM_ROOT structure to make it smaller. Also renamed
  MEM_ROOT m_psi_key to psi_key.
- Moved MY_THREAD_SPECIFIC marker in MEM_ROOT from block size (old hack)
  to flags.
- Added global variable my_system_page_size. This is initialized at
  startup.
2021-07-18 19:59:35 +03:00
..
mysql-test/storage_engine MDEV-19236 Improve error message for ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE 2019-04-12 12:28:09 +03:00
CMakeLists.txt Update FSF Address 2019-05-11 21:29:06 +03:00
ha_myisammrg.cc Added support to MEM_ROOT for write protected memory 2021-07-18 19:59:35 +03:00
ha_myisammrg.h Added 'final' to some classes to improve generated code 2020-08-04 17:27:32 +02:00
myrg_close.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_create.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
myrg_def.h perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
myrg_delete.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_extra.c MDEV-18496 Crash when Aria encryption is enabled but plugin not available 2020-07-29 14:56:24 +02:00
myrg_info.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_locking.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_open.c Merge 10.4 into 10.5 2020-03-17 07:58:41 +02:00
myrg_panic.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_queue.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_range.c Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
myrg_records.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rfirst.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rkey.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rlast.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rnext.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rnext_same.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rprev.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rrnd.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_rsame.c Update FSF Address 2019-05-11 21:29:06 +03:00
myrg_static.c perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
myrg_update.c Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
myrg_write.c MDEV-19955 make argument of handler::ha_write_row() const 2019-07-05 13:14:19 +03:00