mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 01:23:12 -04:00
Fix build with LibreSSL and OpenSSL-devel ports as well MySQL 8.0.11 is the General Availability (GA) version of MySQL 8. MySQL since this version supports FIPS-mode, if compiled using OpenSSL, AND an OpenSSL library and FIPS Object Module are available at runtime. FIPS mode imposes conditions on cryptographic operations such as restrictions on acceptable encryption algorithms or requirements for longer key lengths. The --ssl-fips-mode client option enables control of FIPS mode on the client side for: mysql, mysqladmin, mysqlbinlog, mysqlcheck, mysqldump, mysqlimport, mysqlpump, ... This update includes bugfixes including (not limited to): -InnoDB: The server was stopped before a fatal error message was written to the error log. -InnoDB: An incorrect GROUP BY result was returned when using the TempTable storage engine and a NO PAD collation. -InnoDB: The data retrieved from INFORMATION_SCHEMA.INNODB_COLUMNS was incorrect for tables containing a virtual column. Full Release-Notes are available at: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html
22 lines
908 B
C++
22 lines
908 B
C++
--- storage/myisam/mi_dynrec.cc.orig 2016-03-28 18:06:12 UTC
|
|
+++ storage/myisam/mi_dynrec.cc
|
|
@@ -65,18 +65,13 @@ bool mi_dynmap_file(MI_INFO *info, my
|
|
DBUG_RETURN(1);
|
|
}
|
|
/*
|
|
- 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(
|
|
0, (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 = NULL;
|
|
|