mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
- Performance: Certain queries against tables with spatial indexes were not performed as efficiently following an upgrade from MySQL 5.7 to MySQL 8.0. - NDB Cluster: NDB defines one SPJ worker per node owning a primary partition of the root table. If this table used read from any replica, DBTC put all SPJ workers in the same DBSPJ instance, which effe - NDB Cluster: Executing the SHOW command using an ndb_mgm client binary from NDB 8.0.16 or earlier to access a management node running NDB 8.0.17 or later produced the error message Unknown field: is_s - On EL7 and EL8, CMake configuration was adjusted to look for GCC 9 before GCC 8. Because libmysqlclient ships with MySQL distributions, client applications built against libmysqlclient on those platfo - The max_length_for_sort_data system variable is now deprecated due to optimizer changes that make it obsolete and of no effect. More Infos: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-20.html Special thanks to: fluffy MFH: 2020Q2 Security: 21d59ea3-8559-11ea-a5e2-d4c9ef517024 (MySQL - Server) Security: 622b5c47-855b-11ea-a5e2-d4c9ef517024 (MySQL - Client) Sponsored by: Netzkommune GmbH
22 lines
945 B
C++
22 lines
945 B
C++
--- storage/myisam/mi_dynrec.cc.orig 2019-09-20 08:30:51 UTC
|
|
+++ storage/myisam/mi_dynrec.cc
|
|
@@ -85,17 +85,12 @@ bool mi_dynmap_file(MI_INFO *info, my_off_t size) {
|
|
return true;
|
|
}
|
|
/*
|
|
- I wonder if it is good to use MAP_NORESERVE. From the Linux man page:
|
|
- MAP_NORESERVE
|
|
- Do not reserve swap space for this mapping. When swap space is
|
|
- reserved, one has the guarantee that it is possible to modify the
|
|
- mapping. When swap space is not reserved one might get SIGSEGV
|
|
- upon a write if no physical memory is available.
|
|
+ MAP_NORESERVE is unimplemented in FreeBSD
|
|
*/
|
|
info->s->file_map = (uchar *)my_mmap(
|
|
nullptr, (size_t)size,
|
|
info->s->mode == O_RDONLY ? PROT_READ : PROT_READ | PROT_WRITE,
|
|
- MAP_SHARED | MAP_NORESERVE, info->dfile, 0L);
|
|
+ MAP_SHARED, info->dfile, 0L);
|
|
if (info->s->file_map == (uchar *)MAP_FAILED) {
|
|
info->s->file_map = nullptr;
|
|
return true;
|