| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
| |
Disable detect of TLSv1.3 functions - it's broken with LibreSSL
Release Notes: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-33.html
Requested by: joneum
|
| |
|
|
|
|
| |
PR: 250340
Submitted by: 0mp
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
|
| |
google-perftools port puts libtcmalloc_minimal.so inside /usr/local/lib
To use tcmalloc memory allocator we need mysqld_safe to load libraries from /usr/local/lib
More information about why to use tcmalloc instead of jemalloc here:
https://forums.freebsd.org/threads/freebsd-12-x-and-mysql-5-7-and-importing-file-with-lots-of-small-lines-exhaust-ram-and-swap.72733/
PR: 248982
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
/usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29:
/usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/include/my_openssl.h:55:30: error: use of undeclared identifier 'OPENSSL_INIT_NO_ATEXIT'
return OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL);
This fix a problem with libressl
PR: 246070
MFH: 2020Q2
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bugs Fixed:
- InnoDB: The row_upd_clust_rec_by_insert function, which marks a clustered index record as deleted and inserts an updated version of the record into the clustered index, passed an incorrect n_ext value (the total number of external fields) to lower level functions, causing an assertion failure.
- InnoDB: An operation performed with the innodb_buffer_pool_evict debug variable set to uncompressed caused an assertion failure.
- InnoDB: An add column operation caused an assertion failure. The failure was due to a dangling pointer.
- nnoDB: Updating certain InnoDB system variables that take string values raised invalid read errors during Valgrind testing.
- InnoDB: An insert statement on a table with a spatial index raised a record type mismatch assertion due to a tuple corruption.
- InnoDB: A function that calculates undo log record size could calculate an incorrect length value in the case of a corrupted undo log record, resulting in a malloc failure. Assertion code was added to detect incorrect calculations.
- Replication: While an SQL statement was in the process of being rewritten for the binary log so that sensitive information did not appear in plain text, if a SHOW PROCESSLIST statement was used to inspect the query, the query could become corrupted when it was written to the binary log, causing replication to stop. The process of rewriting the query is now kept private, and the query thread is updated only when rewriting is complete.
- Replication: When a GRANT or REVOKE statement is only partially executed, an incident event is logged in the binary log, which makes the replication slave's applier thread stop so that the slave can be reconciled manually with the master. Previously, if a failed GRANT or REVOKE statement was the first statement executed in the session, no GTID was applied to the incident event (because the cache manager did not yet exist for the session), causing an error on the replication slave. Also, no incident event was logged in the situation where a GRANT statement created a user but then failed because the privileges had been specified incorrectly, again causing an error on the replication slave. Both these issues have now been fixed.
- Replication: When a replication slave has a generated column that the master does not have in that table, with a secondary index on the generated column, the generated expression should be evaluated and the value stored by the storage engine in the secondary index. When row-based binary logging is in use, the replication slave assigns default values to any fields that are not in the master's definition of the table. In the case of a generated column, which does not have a default value, the slave was previously assigning a null or a zero value to the column. This value was then stored by the storage engine in the secondary index, causing both the table and the index to become corrupted. To fix this issue, generated columns in a table on a replication slave are now re-evaluated before the values are sent to the storage engine.
- Replication: In the event of an unplanned disconnection of a replication slave from the master, the reference to the master's dump thread might not be removed from the list of registered slaves, in which case statements that accessed the list of slaves would fail. The issue has now been fixed.
- Replication: With the settings binlog_format=MIXED, tx_isolation=READ-COMMITTED, and binlog_row_image=FULL, an INSERT ... SELECT query involving a transactional storage engine omitted any columns with a null value from the row image written to the binary log. This happened because when processing INSERT ... SELECT statements, the columns were marked for inserts before the binary logging format was selected. The issue has now been fixed.
Full Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-30.html
MFH: 2020Q2
Security: 21d59ea3-8559-11ea-a5e2-d4c9ef517024 (MySQL - Server)
Security: 622b5c47-855b-11ea-a5e2-d4c9ef517024 (MySQL - Client)
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bugs Fixed:
- InnoDB: os_file_get_parent_dir warnings were encountered when compiling MySQL with GCC 9.2.0.
- InnoDB: An internal function (btr_push_update_extern_fields()) used to fetch newly added externally stored fields and update them during a pessimistic update or when going back to a previous version of a record was no longer required. Newly added externally stored fields are updated by a different function. Also, the method used to determine the number of externally stored fields was corrected.
- InnoDB: A comparison function found two records to be equal when attempting to merge non-leaf pages of a spatial index. The function was unable to handle this unexpected condition, which resulted in a long semaphore wait and an eventual assertion failure.
- Replication: A memory leak could occur when a failed replication group member tried to rejoin a minority group and was disallowed from doing so.
- Docker packages were missing the LDAP authentication plugins.
More Infos: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-29.html
Approved by: mmokhi (maintainer, implicit)
MFH: 2020Q1
Security: a6cf65ad-37d2-11ea-a1c7-b499baebfeaf
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
| |
libdata/pkgconfig/LIBMYSQL_OS_OUTPUT_NAME-NOTFOUND.pc
for server bundle, right .pc file is already installed by client package
PR: 242488
Reported by: fluffy
Approved by: mmokhi (maintainer, implicit)
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
| |
/ram/usr/ports/databases/mysql57-client/work/mysql-5.7.28/vio/viosslfactories.c:505:27: error: use of undeclared identifier 'SSL_OP_NO_TLSv1_3'
| SSL_OP_NO_TLSv1_3
This fix a problem with libressl
PR: 242474
Approved by: mmokhi (maintainer, implicit)
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
| |
Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-28.html
PR: 241920
Approved by: mmokhi (maintainer, implicit)
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This update includes security fixes on issues that are
mentioned on upstream critical patch report.
Further info:
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html#AppendixMSQL
PR: 239271
Submitted by: Greg Veldman <freebsd@gregv.net>
Reported by: Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by: Platform.sh
|
| |
|
|
|
|
|
|
| |
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
PR: 238808
Exp-run by: antoine
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This update includes:
Bugfix:
- InnoDB: Optimized internal temporary tables did not support
in-place UPDATE operations
- InnoDB: A function called by a CREATE TABLE thread attempted access after free()
- InnoDB: The INDEX_LENGTH value in INFORMATION_SCHEMA.TABLES
was not updated when adding an index
- The authentication_ldap_simple plugin could enforce authentication incorrectly
More info: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-26.html
Security Fix:
CVE-2019-2632, CVE-2019-1559, CVE-2018-3123, and other fixes.
More info: https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html#AppendixMSQL
PR: 237399
Reported by: Brent Busby <brent@jfi.uchicago.edu>
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
| |
Make MySQL build-script assume that FreeBSD's Clang (on i386)
doesn't have "atomic_*" functions builtin implemented.
This is added to cmake/os/FreeBSD.cmake to make the merge for upstream easier.
PR: 229605
Reported by: gbromov@gmail.com
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Delete merged-to-upstream FreeBSD patches, edit half-merged ones.
Upstream bugfixes:
Regression of Bug #27753193 (segfault on ALTER TABLE adding primary key, InnoDB)
Query interruption during a lock wait caused an error: Bug #28068293
Raised assertion during an OPTIMIZE TABLE operation for InnoDB: Bug #27753193
More info on update: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-24.html
PR: 232685
Reported by: Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
| |
PR: 230527
Submitted by: Markus Kohlmeyer <rootservice@gmail.com>
Reported by: Markus Kohlmeyer <rootservice@gmail.com>
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Regarding to the changes to rc.subr(8) it is no longer necessary to
define a resource limiting logic in service scripts.
limits(1) is now run by default and its configuration is handled
via the "${name}_limits" variable.
This however causes collision of variable names and also is not
compatible with the old mechanism.
This fixes the rc-script of mysql57 for the bases with both
old and new mechanism.
(This is port of the r466505 [and r466506])
PR: 227230
Submitted by: 0mp
Reported by: 0mp
Differential Revision: Netzkommune GmbH
|
| |
|
|
|
|
| |
post-r328331 base
This is port of r461217
|
| |
|
|
|
|
| |
The patch was casting variables to right size on previous versions
Issue seems fixed by upstream it's not needed anymore.
It also fixes a warning/error for from Clang6 on the port build.
|
| |
|
|
|
|
|
|
|
|
| |
This update fixes bugs like CVE-2018-2696, CVE-2018-2562, CVE-2018-2640,
CVE-2018-2668, CVE-2017-3737 (and more) in MySQL protocol by upstream.
Delete local patches (CMake plugin macros) that are merged by upstream.
PR: 225195
Sponsored by: Netzkommune GmbH
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
newest 5.7.19 upgrade
-Add a SASL/LDAP option for mysql57-client
-Fix plugin.cmake for "FreeBSD != Linux" case
For new plugin, MySQL build assumes everything is MacOS or Windows or Linux.
This breaks upgrades when you have SASL/LDAP client-library installed.
Because it "Decides" that you "Want" SASL/LDAP support and tries to build it.
PR: 220865
Submitted by: mmokhi
Reported by: Vladimir Omelchuk <admin@vladiom.com.ua>
Reviewed by: mat, feld (mentors)
Approved by: feld (mentor)
MFH: 2017Q3
Differential Revision: https://reviews.freebsd.org/D11667
|
| |
|
|
|
|
|
|
| |
Fix some no-longer-valid (but needed) patches.
Reviewed by: feld, mat (mentors)
Approved by: feld (mentor)
Differential Revision: https://reviews.freebsd.org/D10392
|
| |
|
|
|
|
|
|
|
| |
Improve ${mysql_optfile} default usage in rc script.
Improve pkg-message.
Reviewed by: feld, mat
Approved by: feld, mat (mentors)
Differential Revision: https://reviews.freebsd.org/D9646
|
| |
|
|
| |
Approved by: portmgr blanket
|
| |
|
|
|
|
|
|
|
|
| |
Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html
PR: 215711
Submitted by: Mahdi Mokhtari <mokhi64@gmail.com> (maintainer)
Reviewed by: matthew
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D9027
|
| |
|
|
|
|
|
| |
PR: 212690
Submitted by: mokhi64@gmail.com (maintainer)
MFH: 2016Q3
Security: CVE 2016-6662
|
| |
|
|
|
|
|
|
|
|
|
| |
- Fix building when OPENSSL_VERSION_NUMBER == 2
- Switch USE_OPENSSL to USES= ssl
PR: 211770
Submitted by: Markus Kohlmeyer <rootservice@gmail.com>
Reported by: Markus Kohlmeyer <rootservice@gmail.com>
Approved by: Mahdi Mokhtari <mokhi64@gmail.com>
MFH: 2016Q3
|
| |
|
|
|
|
| |
PR: 209579
Submitted by: mokhi64@gmail.com
Reviewed by: rootservice@gmail.com
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
List of vulnerabilities is documented on:
http://vuxml.freebsd.org/freebsd/8c2b2f11-0ebe-11e6-b55e-b499baebfeaf.html
CVE IDs see below.
PR: 206998
Submitted by: mokhi64@gmail.com (maintainer)
Reviewed by: rootservice@gmail.com
Approved by: mokhi64@gmail.com (maintainer)
MFH: 2016Q2
Security: CVE-2016-0705
CVE-2016-0639
CVE-2015-3194
CVE-2016-0640
CVE-2016-0641
CVE-2016-3461
CVE-2016-2047
CVE-2016-0642
CVE-2016-0643
CVE-2016-0644
CVE-2016-0646
CVE-2016-0647
CVE-2016-0648
CVE-2016-0649
CVE-2016-0650
CVE-2016-0652
CVE-2016-0653
CVE-2016-0654
CVE-2016-0655
CVE-2016-0656
CVE-2016-0657
CVE-2016-0658
CVE-2016-0651
CVE-2016-0659
CVE-2016-0661
CVE-2016-0662
CVE-2016-0663
CVE-2016-0665
CVE-2016-0666
CVE-2016-0667
CVE-2016-0668
|
| |
|
|
|
|
| |
PR: 208634
Submitted by: rootservice@gmail.com
Approved by: mokhi64@gmail.com (maintainer)
|
| |
|
|
|
|
|
| |
Reported by: Vladimir Omelchuk <admin@vladiom.com.ua>
Pointy hat to: dim
PR: 208525
MFH: 2016Q2
|
| |
|
|
|
|
|
|
|
|
| |
resulted in errors with libc++ 3.8.0, because it declares the allocators
for several std::map declarations incorrectly. Fix this by sprinkling
const in the right places.
Approved by: mokhi64@gmail.com (maintainer)
PR: 208525
MFH: 2016Q2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The recent port version 5.7.10_2 introduced a change in the default
behaviour of performance_schema. Due to an ongoing debate in the
community whether the default setting should lean towards performance
(previous default before 5.7.10_2) or memory consumption, maintainer
had changed the default to memory consumption in 5.7.10_2.
This introduces an OPTION knob PERFSCHM to control the default behaviour
of performance_schema. It defaults to ON, hence restoring the previous
default.
Bump PORTREVISION.
PR: 206912
Submitted by: smh
Reviewed by: mokhi64@gmail.com (maintainer), riggs
Approved by: mokhi64@gmail.com (maintainer)
MFH: 2016Q1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- binary_log_types.h is now installed only by client, not server
- lib/mysql/plugin/ha_example.so is only installed if
EXAMPLES OPTION is turned off
- Bump PORTREVISION
- Allow slave port to override PORTREVISION if necessary
- Deactivate performance_schema feature to conserve memory
- Add notes to pkg-message:
- root password
- performance_schema feature is deactivated by default to reduce
memory footprint
PR: 205956 206065
Submitted by: smh
Reviewed by: mokhi64@gmail.com (maintainer)
Approved by: mokhi64@gmail.com (maintainer)
MFH: 2016Q1
|
| |
|
|
|
|
| |
change all files that were missed in the last commit
PR: 204607
|
| |
|
|
|
|
| |
re-add for proper repo-copy
PR: 204607
|
| |
|
|
|
|
| |
remove to prepare for proper repo-copy
PR: 204607
|
| |
|
|
|
|
| |
- Bump PORTREVISION
PR: 205433
|
| |
|
|
| |
PR: 204607
|
|
|
The next major release of mysql.
MySQL is a very fast, multi-threaded, multi-user and robust SQL
(Structured Query Language) database server.
WWW: http://www.mysql.com/
PR: 204607
Submitted by: mokhi64@gmail.com
Reviewed by: koobs, brnrd
Approved by: mat
|