summaryrefslogtreecommitdiff
path: root/databases/mysql55-client
AgeCommit message (Collapse)AuthorFilesLines
2017-05-24Pointer fix, found by GCC 7.1.jperkin2-1/+17
2017-05-05The mysql client links against libcurses, ensure we pull in the bl3 sojperkin1-1/+2
that user preferences are respected.
2017-05-03Updated database/mysql55-{client,server} to 5.5.56mef3-16/+14
------------------------------------------------------------------- (From https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-56.html) Changes in MySQL 5.5.56 (2017-05-02, General availability) Binary packages for MySQL 5.5.56 are identical to those for MySQL 5.5.55, except for the version number. The change in 5.5.56 for Bug #25942414 is applicable only to those who build from source. Security Notes For the WITH_SSL CMake option, no is no longer a permitted value or the default value. The default is now bundled. Consequently, MySQL now is always built with SSL support. (Bug #25942414) ------------------------------------------------------------------- (pkgsrc changes) - Removed ssl option both from PKG_{SUPPORTED,SUGGESTED}_OPTIONS. This may give error if ssl is explicitly designated, but I believe that is the (kind of) upstream intension. (or left ssl in SUPPORTED and ignore it ?)
2017-04-11Updated databases/mysql55-{client,server} to 5.5.55mef2-7/+7
--------------------------------------------------- Picks securiy part from https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-55.html ----- Security Notes The mysql_options() C API function now supports a MYSQL_OPT_SSL_MODE option. The only permitted option value is SSL_MODE_REQUIRED, to require a secure connection to the server. It causes mysql_real_connect() to fail if an encrypted connection cannot be obtained, without falling back to an unencrypted connection. Thus, mysql_real_connect() returns an error if the server does not support SSL or the client is not configured to use SSL. The client/server exchange terminates immediately after the initial server packet has been received if the server indicates that it does not support SSL. To require an encrypted connection in MySQL 5.5, the standard MySQL client programs call mysql_options() to set MYSQL_OPT_SSL_MODE if the --ssl-mode=REQUIRED command-line option was specified. Third-party applications that must be able to require encrypted connections can use the same technique. For details, see mysql_ssl_set(). The minor C API version number was not incremented for this change. Application programs compiled for MySQL 5.5 that require MYSQL_OPT_SSL_MODE may fail to operate properly if the dynamic loader provides an older client library without MYSQL_OPT_SSL_MODE. Such applications must be written to handle this possibility by checking whether the mysql_options() call succeeds or fails. (Bug #25575605)
2016-12-12Changes 5.5.54:adam2-7/+7
Security Notes -------------- Incompatible Change: These changes were made to mysqld_safe: * Unsafe use of rm and chown in mysqld_safe could result in privilege escalation. chown now can be used only when the target directory is /var/log. An incompatible change is that if the directory for the Unix socket file is missing, it is no longer created; instead, an error occurs. Due to these changes, /bin/bash is required to run mysqld_safe on Solaris. /bin/sh is still used on other Unix/Linux platforms. * The --ledir option now is accepted only on the command line, not in option files. * mysqld_safe ignores the current working directory. Other related changes: * Initialization scripts that invoke mysqld_safe pass --basedir explicitly. * Initialization scripts create the error log file only if the base directory is /var/log or /var/lib. * Unused systemd files for SLES were removed. Bugs Fixed
2016-10-12Changes 5.5.53:adam2-7/+7
Packaging Notes --------------- RPM packages now create the /var/lib/mysql-files directory, which is now the default value of the secure_file_priv system variable that specifies a directory for import and export operations. Security Notes -------------- Incompatible Change: The secure_file_priv system variable is used to limit the effect of data import and export operations. Functionality Added or Changed ------------------------------ yaSSL was upgraded to version 2.4.2. This upgrade corrects issues with: Potential AES side channel leaks; DSA padding for unusual sizes; the SSL_CTX_load_verify_locations() OpenSSL compatibility function failing to handle long path directory names.
2016-09-07Changes in MySQL 5.5.52 (2016-09-06)adam2-7/+7
Bugs Fixed ---------- Replication: mysqlbinlog --read-from-remote-server log1 log2 was opening a new connection for log2 without freeing the connection used for log1. Thanks to Laurynas Biveinis for the contribution. (Bug 81675, Bug 23540182) For mysqld_safe, the argument to --malloc-lib now must be one of the directories /usr/lib, /usr/lib64, /usr/lib/i386-linux-gnu, or /usr/lib/x86_64-linux-gnu. In addition, the --mysqld and --mysqld-version options can be used only on the command line and not in an option file. (Bug 24464380) It was possible to write log files ending with .ini or .cnf that later could be parsed as option files. The general query log and slow query log can no longer be written to a file ending with .ini or .cnf. (Bug 24388753) Privilege escalation was possible by exploiting the way REPAIR TABLE used temporary files. (Bug 24388746) Certain internal character-handling functions could fail to handle a too-large character and cause a server exit. (Bug 23296299) A blank server name in CREATE SERVER statements produced a server exit rather than an error. (Bug 23295288) The optimizer failed to check a function return value for an area calculation, leading to a server exit. (Bug 23280059) A prepared statement that used a parameter in the select list of a derived table that was part of a join could cause a server exit. (Bug 22392374, Bug 24380263) MEDIUMINT columns used in operations with long integer values could result in buffer overflow. (Bug 19984392) EINTR handling in the client library has been fixed so that interrupted read and write calls are retried. Previously, EINTR was ignored. (Bug 82019, Bug 23703570)
2016-08-04Changes 5.5.51:adam4-16/+15
Bugs Fixed Replication: When using statement-based or mixed binary logging format with --read-only=ON, it was not possible to modify temporary tables. MySQL Server upgrades performed using RPM packages failed when upgrading from MySQL 5.1 Community to MySQL 5.5 Community or MySQL 5.1 Commercial to MySQL 5.5 Commercial. A buffer overflow in the regex library was fixed. Certain arguments to NAME_CONST() could cause a server exit. Installing MySQL from a yum or zypper repository resulted in /var/log/mysqld.log being created with incorrect user and group permissions. If a stored function updated a view for which the view table had a trigger defined that updated another table, it could fail and report an error that an existing table did not exist. If an INSTALL PLUGIN statement contained invalid UTF-8 characters in the shared library name, it caused the server to hang (or to raise an assertion in debug builds). For multibyte character sets, LOAD DATA could fail to allocate space correctly and ignore input rows as a result.
2016-07-09Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.wiz1-1/+2
2016-06-14Changes 5.5.0:adam2-7/+7
Functionality Added or Changed The version of the tcmalloc library included in MySQL distributions was very old. It has been removed and is no longer included with MySQL. Bugs Fixed INSERT with ON DUPLICATE KEY UPDATE and REPLACE on a table with a foreign key constraint defined failed with an incorrect “duplicate entry” error rather than a foreign key constraint violation error. Setting sort_buffer_size to a very large value could cause some operations to fail with an out-of-memory error. Several potential buffer overflow issues were corrected. If the CA certificate as given to the --ssl-ca option had an invalid path, yaSSL returned an error message different from OpenSSL. Now both return SSL connection error: SSL_CTX_set_default_verify_paths failed. Some string functions returned one or a combination of their parameters as their result. If one of the parameters had a non-ASCII character set, the result string had the same character set, resulting in incorrect behavior when an ASCII string was expected. A null pointer dereference of a parser structure could occur during stored procedure name validation. mysqld_multi displayed misleading error messages when it was unable to execute my_print_defaults.
2016-04-18Changes 5.5.49:adam3-9/+8
Security Notes -------------- MySQL client programs now support an --ssl-mode option that enables you to specify the security state of the connection to the server. The default value is DISABLED (establish an unencrypted connection). --ssl-mode=REQUIRED) can be specified to require a secure connection, or fail if a secure connection cannot be obtained. These clients support --ssl-mode: mysql, mysqladmin, mysqlcheck, mysqldump, mysqlimport, mysqlshow, mysqlpump, mysqlslap, mysqltest, mysql_upgrade. For more information, see Command Options for Secure Connections. Bugs Fixed
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin2-3/+4
2016-02-27Changes 5.5.48:adam2-7/+7
* yaSSL was upgraded to version 2.3.9. This upgrade corrects an issue in which yaSSL handled only cases of zero or one leading zeros for the key agreement instead of potentially any number, which in rare cases could cause connections to fail when using DHE cipher suites. * The Valgrind function signature in mysql-test/valgrind.supp was upgraded for Valgrind 3.11. * Bugs Fixed
2016-02-25Use OPSYSVARS.jperkin1-8/+4
2015-12-07Changes 5.5.47:adam2-7/+7
MySQL Server RPM packages now contain a conflict indicator for MySQL Connector C, such that an error occurs when installing MySQL Server if MySQL Connector C is also installed. To install MySQL Server, remove any MySQL Connector C packages first. mysql_upgrade now attempts to print more informative errors than FATAL ERROR: Upgrade failed. These client programs now support the --enable-cleartext-plugin option: mysqlcheck, mysqldump, mysqlimport, mysqlshow. This option enables the mysql_clear_password cleartext authentication plugin. (See The Cleartext Client-Side Authentication Plugin.) Bugs Fixed
2015-11-11When dtrace option is not enabled, explicitly disable dtrace.wiz1-1/+3
Fixes build on NetBSD built with dtrace.
2015-11-11Remove REPLACE_PERL line for non-existent file.wiz1-2/+1
2015-11-03Add SHA512 digests for distfiles for databases categoryagc1-1/+3
Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-03Changes 5.5.46:adam3-12/+12
* yaSSL was upgraded to version 2.3.8. * InnoDB: A data corruption occurred on ARM64. GCC builtins did not issue the correct fences when setting or unsetting the lock word. * InnoDB: In READ COMMITTED mode, a REPLACE operation on a unique secondary index resulted in a constraint violation. Thanks to Alexey Kopytov for the patch. * InnoDB: The IBUF_BITMAP_FREE bit indicated that there was more free space in the leaf page than was actually available. * InnoDB: Setting lower_case_table_names=0 on a case-insensitive file system could result in a hang condition when running an INSERT INTO ... SELECT ... FROM tbl_name operation with the wrong tbl_name letter case. An error message is now printed and the server exits when attempting to start the server with --lower_case_table_names=0 on a case-insensitive file system. * Partitioning: CREATE TABLE statements that used an invalid function in a subpartitioning expression did not always fail gracefully as expected. * Partitioning: ALTER TABLE when executed from a stored procedure did not always work correctly with tables partitioned by RANGE. * Certain subqueries as arguments to PROCEDURE ANALYSE() could cause a server exit. * mysql_ssl_rsa_setup could create an unwanted .rnd file in the data directory. (The file is actually created by openssl, which mysql_ssl_ras_setup invokes. mysql_ssl_rsa_setup now cleans up the file.) * An assertion could be raised due to incorrect error handling if a SELECT ... FOR UPDATE subquery resulted in deadlock and caused a rollback. * Servers linked against yaSSL and compiled with GCC 4.8.2 could fail to respond correctly to connection attempts until several seconds after startup. * For tables with subpartitions, the server could exit due to incorrect error handling during partition pruning if the partition could be identified but not the subpartition. * DELETE could check privileges for the wrong database when table aliases were used. * Within a trigger, use of a cursor that accessed OLD or NEW values from a row could cause a server exit. * MySQL sometimes produced no warning when it was unable to interpret a character in a given character set. * For MySQL distributions linked against yaSSL, a corrupt client key file could cause clients to exit. * Execution of certain BINLOG statements while temporary tables were open by HANDLER statements could cause a server exit.
2015-07-30Changes 5.5.45:adam4-14/+13
* Security Fix: Due to the LogJam issue (https://weakdh.org/), OpenSSL has changed the Diffie-Hellman key length parameters for openssl-1.0.1n and up. OpenSSL has provided a detailed explanation at http://openssl.org/news/secadv_20150611.txt. To adopt this change in MySQL, the key length used in vio/viosslfactories.c for creating Diffie-Hellman keys has been increased from 512 to 2,048 bits. * InnoDB: On Unix-like platforms, os_file_create_simple_no_error_handling_func and os_file_create_func opened files in different modes when innodb_flush_method was set to O_DIRECT. * InnoDB: An assertion was raised when InnoDB attempted to dereference a NULL foreign key object. * InnoDB: An index record was not found on rollback due to inconsistencies in the purge_node_t structure. * The Spencer regex library used for the REGEXP operator could be subject to heap overflow in some circumstances. * A buffer-overflow error could occur for mysqlslap during option parsing. * GROUP BY or ORDER BY on a CHAR(0) NOT NULL column could lead to a server exit. * mysql-systemd-start failed if datadir was set in /etc/my.cnf. * On OS X 10.10 (Yosemite), mysqld failed to start automatically. The startup item has been replaced with a launchd job, which enables the preference pane checkbox for automatic startup to work again.
2015-06-22Substitute hardcoded paths to compiler wrappers. Fixes CHECK_WRKREF builds.jperkin1-1/+8
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-06-01Changes 5.5.44:adam3-22/+6
Bugs fixed: * InnoDB; Partitioning: The CREATE_TIME column of the INFORMATION_SCHEMA.TABLES table now shows the correct table creation time for partitioned InnoDB tables. The CREATE_TIME column of the INFORMATION_SCHEMA.PARTITIONS table now shows the correct partition creation time for a partition of partitioned InnoDB tables. The UPDATE_TIME column of the INFORMATION_SCHEMA.TABLES table now shows when a partitioned InnoDB table was last updated by an INSERT, DELETE, or UPDATE. The UPDATE_TIME column of the INFORMATION_SCHEMA.PARTITIONS table now shows when a partition of a partitioned InnoDB table was last updated. * InnoDB: An assertion was raised on shutdown due to XA PREPARE transactions holding explicit locks. * InnoDB: Removal of a foreign key object from the data dictionary cache during error handling caused the server to exit. * InnoDB: SHOW ENGINE INNODB STATUS output showed negative reservation and signal count values due to a counter overflow error. * InnoDB: Estimates that were too low for the size of merge chunks in the result sorting algorithm caused a server exit. * SHOW VARIABLES mutexes were being locked twice, resulting in a server exit. * A Provides rule in RPM .spec files misspelled “mysql-embedded” as “mysql-emdedded”. * Under certain conditions, the libedit command-line library could write outside an array boundary and cause a client program crash. * Host value matching for the grant tables could fail to use the most specific of values that contained wildcard characters. * A user with a name of event_scheduler could view the Event Scheduler process list without the PROCESS privilege. * SHOW GRANTS after connecting using a proxy user could display the password hash of the proxied user. * For a prepared statement with an ORDER BY that refers by column number to a GROUP_CONCAT() expression that has an outer reference, repeated statement execution could cause a server exit. * Loading corrupt spatial data into a MyISAM table could cause the server to exit during index building. * Certain queries for the INFORMATION_SCHEMA TABLES and COLUMNS tables could lead to excessive memory use when there were large numbers of empty InnoDB tables. * MySQL failed to compile using OpenSSL 0.9.8e.
2015-04-08Changes 5.5.43:adam2-6/+6
* CMake support was updated to handle CMake version 3.1. * The server now includes its version number when it writes the initial “starting” message to the error log, to make it easier to tell which server instance error log output applies to. This value is the same as that available from the version system variable. * Bug fixes.
2015-02-07Fix MESSAGE_SRC for the sphinx option. Bump PKGREVISION.fhajny1-2/+2
2015-02-07Changes 5.5.42:adam3-11/+12
* Support for the SSL 2.0 and SSL 3.0 protocols has been disabled because they provide weak encryption. * yaSSL was upgraded to version 2.3.7. * The valid date range of the SSL certificates in mysql-test/std_data has been extended to the year 2029. * Bugs Fixed
2015-01-03Add lost sphinxsearch hashes, make sure they are not lost next time.fhajny2-3/+6
2014-11-29Changes 5.5.41:adam3-17/+14
Unknown
2014-11-25Don't use 0 as va_list.joerg2-1/+43
2014-10-17Add optional Sphinx SE plugin support to MySQL 5.5 and 5.6.fhajny2-3/+21
Intented as a clean implementation (replacement) of wip/mysql-sphinxse. SphinxSE is MySQL storage engine which can be compiled into MySQL server 5.x using its pluggable architecture. Despite the name, SphinxSE does not actually store any data itself. It is actually a built-in client which allows MySQL server to talk to searchd, run search queries, and obtain search results. All indexing and searching happen outside MySQL. See http://sphinxsearch.com/docs/current.html#sphinxse-overview
2014-10-09Remove SVR4_PKGNAME, per discussion on tech-pkg.wiz1-2/+1
2014-10-01Changes 5.5.40:adam3-28/+6
InnoDB: An ALTER TABLE ... ADD FOREIGN KEY operation could cause a serious error. InnoDB: With a transaction isolation level less than or equal to READ COMMITTED, gap locks were not taken when scanning a unique secondary index to check for duplicates. As a result, duplicate check logic failed allowing duplicate key values in the unique secondary index. InnoDB: During recovery, a segmentation fault would occur when marking a table as corrupt. yaSSL client code did not validate the encryption size or session ID length, which could cause the client to exit. MySQL installation from RPM packages could fail if Postfix had been installed using yum. yaSSL could fail preauthorization if the client supplied inaccurate buffer lengths. Competition between threads could lead to timeout failure trying to rotate the audit log file. On Linux (OEL6), if Sun DTrace was installed, the MySQL build failed. LPAD() and RPAD() could cause a server exit if the pad string argument was not well formed. The optimizer could create a zero-length column for a temporary table, causing a server exit.
2014-09-24Remove WRAPPER_BINDIR references in mysqlbug.jperkin1-1/+6
2014-08-20File::Temp was first released with perl v5.6.1, so no need to install itobache1-3/+2
from pkgsrc in these days.
2014-08-10Changes 5.5.39:adam2-6/+6
CMake support was updated to handle CMake version 3. The timed_mutexes system variable has no effect and is deprecated. Bugs Fixed InnoDB: Opening a parent table that has thousands of child tables could result in a long semaphore wait condition. Partitioning: Selecting from a table having multiple columns in its primary key and partitioned by LIST COLUMNS(R), where R was the last (rightmost) column listed in the primary key definition, returned an incorrect result. Replication: When using row-based replication, updating or deleting a row on the master that did not exist on the slave led to failure of the slave when it tried to process the change. This problem occurred with InnoDB tables lacking a primary key. Replication: Quotation marks were not always handled correctly by LOAD DATA INFILE when written into the binary log. Replication: A group of threads involved in acquiring locks could deadlock when the following events occurred: Dump thread reconnects from slave; on master, a new dump thread tries to kill zombie dump threads; having acquired the thread's LOCK_thd_data, it is about to acquire LOCK_log. Application thread executing show binary logs, having acquired LOCK_log and about to acquire LOCK_index. Application thread executing PURGE BINARY LOGS; having acquired LOCK_index, it is about to acquire LOCK_thread_count. Application thread executing SHOW PROCESSLIST (or SELECT * FROM INFORMATION_SCHEMA.PROCESSLIST), having acquired LOCK_thread_count and about to acquire the zombie dump thread's LOCK_thd_data.
2014-07-18Fix build under SCO OpenServer 5.0.7/3.2.ryoon9-7/+449
2014-06-02Changes 5.5.38:adam3-8/+7
Bugs Fixed InnoDB: For each insert, memset would be called three times to allocate memory for system fields. To reduce CPU usage, the three memset calls are now combined into a single call. Replication: When used on a table employing a transactional storage engine, a failed TRUNCATE TABLE was still written to the binary log and thus replayed on the slave. This could lead to inconsistency when the master retained data that was removed on the slave. Now in such cases TRUNCATE TABLE is logged only when it executes successfully. Certain INFORMATION_SCHEMA queries could cause a server exit. For indexes on prefixes or character string columns, index corruption could occur for assignment of binary data to the column due to improper character counting. Solaris-specific scripts were included in and installed by non-Solaris packages. EXPLAIN on a query with an EXISTS subquery containing a UNION could cause a server exit. Multiple executions of a prepared EXPLAIN on a UNION of subqueries could cause a server exit. Executing a correlated subquery on an ARCHIVE table which has an AUTO_INCREMENT column caused the server to hang. The client library could cause clients to exit due to incorrectly mapping the client error number to the corresponding message, if reallocation of packet buffer memory occurred. Calling mysql_get_server_version() with an invalid connection handler argument caused the client to exit. Now it returns 0 and reports a CR_COMMANDS_OUT_OF_SYNC error. On Windows, calling mysql_thread_init() call without mysql_init() caused the client to exit. windows. Now it returns a nonzero result because it is an error to call mysql_thread_init() before the client library is initialized with mysql_library_init(). CMake produced not-useful warnings about INTERFACE_LINK_LIBRARIES policy. LOAD DATA LOCAL INFILE could use all CPU if import errors occurred when there were no line delimiters. A statement of the following form broke row-based replication because it created a table having a field of data type BIGINT with a display width of 3000, which is beyond the maximum acceptable value of 255: CREATE TABLE t1 AS SELECT REPEAT('A',1000) DIV 1 AS a;
2014-05-29Bump for perl-5.20.0.wiz1-1/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-04-14Don't hardcode PID file. Instead, give the user the option to set it. Therodent1-1/+3
rc.d script overrides my.cnf directives. Hardcoding the PID can cause a problem on systems transitioning to MySQL packages from pkgsrc.
2014-03-31Changes 5.5.37:adam4-21/+16
Functionality Added or Changed On Solaris, mysql_config --libs now includes -R/path/to/library so that libraries can be found at runtime. Bugs Fixed InnoDB: A regression introduced by Bug 14329288 would result in a performance degradation when a compressed table does not fit into memory. InnoDB: The maximum value for innodb_thread_sleep_delay is now 1000000 microseconds. The previous maximum value (4294967295 microseconds on 32-bit and 18446744073709551615 microseconds on 64-bit) was unnecessarily large. Because the maximum value of innodb_thread_sleep_delay is limited by the value set for innodb_adaptive_max_sleep_delay (when set to a non-zero value), the maximum value for innodb_thread_sleep_delay is now the same as the maximum value for innodb_adaptive_max_sleep_delay. InnoDB: In debug builds, creating a unique index on a binary column, with input data containing duplicate keys, would cause an assertion. InnoDB: InnoDB would fail to start when innodb_data_file_path specified the data file size in kilobytes by appending K to the size value. InnoDB: An insert buffer merge would cause an assertion error due to incorrectly handled ownership information for externally stored BLOBs. InnoDB: Assertion failure in thread thread_num in file ibuf0ibuf.cc line 4080 InnoDB: Failing assertion: rec_get_deleted_flag(rec, page_is_comp(page)) InnoDB: Decreasing the auto_increment_increment value would have no affect on the next auto-increment value. Replication: The server did not handle correctly the insertion of a row larger than 4 GB when using row-based replication. Replication: When using row-based replication, an additional auto-increment column on the slave version of a table was not updated correctly; a zero was inserted instead. Replication: Statements involving the Performance Schema tables should not be written to the binary log, because the content of these tables is applicable only to a given MySQL Server instance, and may differ greatly between different servers in a replication topology. The database administrator should be able to configure (INSERT, UPDATE, or DELETE) or flush (TRUNCATE TABLE) performance schema tables on a single server without affecting others. However, when replicating from a MySQL 5.5 master to a MySQL 5.5 or later slave, warnings about unsafe statements updating Performance Schema tables were elevated to errors. For MySQL 5.6 and later slaves, this prevented the simultaneous use of performance_schema and GTIDs (see Replication with Global Transaction Identifiers, in the MySQL 5.6 Manual). This fix causes all updates on tables in the performance_schema database to be filtered on the master and not replicated, regardless of the type of logging that is in effect. Prior to this fix, statements using were handled by being marked as unsafe for replication, which caused warnings during execution; the statements were nonetheless written to the binary log, regardless of the logging format in effect. Existing replication behavior for tables in the INFORMATION_SCHEMA database is not changed by this fix. For more information, see MySQL Performance Schema. Compilation failed if MySQL was configured with CFLAGS set to include a -Werror option with an argument. A shared libmysqld embedded server library was not built on Linux. While printing the server version, the mysql client did not check for buffer overflow in a string variable. Contraction information in a collation could be mishandled, resulting in incorrect decisions about whether a character is part of a contraction, and miscalculation of contraction weights. DROP TRIGGER succeeded even with the read_only system variable enabled. Updating the Performance Schema setup_instruments table on a replication master caused a slave to exit. Due to a race condition, it was possible for two threads to end up with the same query ID for different queries. When run by root, mysqld --help --verbose exited with a nonzero error code after displaying the help message. MySQL client programs from a Community Edition distribution could not connect using SSL to a MySQL server from an Enterprise Edition. This was due to a difference in certificate handling by yaSSL and OpenSSL (used for Community and Enterprise, respectively). OpenSSL expected a blank certificate to be sent when not all of the --ssl-ca, --ssl-cert, and --ssl-key options were specified, and yaSSL did not do so. To resolve this, yaSSL has been modified to send a blank certificate when an option is missing. A deadlock error occurring during subquery execution could cause an assertion to be raised. The Performance Schema stage/sql/Waiting to get readlock instrument is no longer used and has been removed. For system variables that take a string value, SET statements permitted an unquoted value, but values that contained dots were parsed incorrectly and only part of the value was assigned. For example, SET GLOBAL slow_query_log_file = my_slow.log assigned the value my_slow. Now such values must be quoted or an error occurs. On Windows, mysql_install_db.pl could be run only from within the bin directory under the installation directory.
2014-03-25Add dtrace option.jperkin1-2/+7
2014-02-13Support building with recent DTrace (v1.11 or newer).jperkin12-3/+210
Patch from https://bugs.launchpad.net/percona-server/+bug/1196460
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron2-3/+4
2014-02-01Changes 5.5.36:adam2-6/+6
Functionality Added or Changed CMake now supports a -DTMPDIR=dir_name option to specify the default tmpdir value. If unspecified, the value defaults to P_tmpdir in <stdio.h>. Thanks to Honza Horak for the patch. Bugs Fixed InnoDB: Table renaming errors would appear in the LATEST FOREIGN KEY ERROR section of the SHOW ENGINE INNODB STATUS output. Partitioning: Queries using the index_merge optimization (see Index Merge Optimization) could return invalid results when run against tables that were partitioned by HASH. Partitioning: When no partition had returned a row since the last HA_ERR_KEY_NOT_FOUND error, the use of uninitialized memory in the priority queue used for returning rows in sorted order could lead to a crash of the server. Replication: mysqlbinlog --verbose failed when it encountered a corrupt row event in the binary log. Such a row event could also cause the slave to fail. Replication: When log_warnings is greater than 1, the master prints binary log dump thread information—containing the slave server ID, binary log file name, and binary log position—in mysqld.1.err. A slave server ID greater than 2 billion was printed with a negative value in such cases. Replication: Invalid event offsets in the binary log were not always handled correctly, which could lead to replication failure. The cache used for the Index Merge access method was freed only after successful retrieval of all rows. Interruption or failure of the operation led to a file descriptor leak. For utf8 and utf8mb4 strings, handler functions unnecessarily called a Unicode conversion function. Use of a nonmulti-byte algorithm for skipping leading spaces in multi-byte strings could cause a server exit. For the utf8_bin collation, ORDER BY LOWER(col_name) could produce incorrect ordering. On Windows, the --local-service server option did not work, and was not displayed in the --help message. The prototype of the Performance Schema instrumentation API mysql_cond_timedwait() call was fixed to be drop-in compatible with pthread_cond_timedwait(). This fix affects only implementers of third-party plugins. For the path specified with the --basedir option, mysql_plugin attempted to unlink the path rather than free the memory in which the path was stored. COUNT(DISTINCT) sometimes produced an incorrect result when the last read row contained a NULL value. Some scripts displayed out-of-date information regarding where to report bugs. Updating a FEDERATED table with UPDATE... JOIN caused a server exit when the local table contained a single row and that row could be joined to a row in the FEDERATED table. mysql_install_db referred to the obsolete mysqlbug script for reporting problems. It now refers to http://bugs.mysql.com/ instead.
2013-12-15Use uniform shared library names to avoid packaging list divergence.asau2-1/+28
This fixes package (and some its dependents) on FreeBSD at least.
2013-12-05Remove CONFLICTS with ${PKGBASE}, these are automatic.wiz1-2/+2
Avoids unnecessary pkgin warning.
2013-12-03Changes 5.5.35:adam2-6/+6
* Previously, MySQL Server distributions included the MySQL Reference Manual in Info format (the Docs/mysql.info file). Because the license for the manual restricts redistribution, its inclusion in Community packages caused problems for downstream redistributors, such as those who create Linux distributions. Community distributions of MySQL Server no longer include the mysql.info file, to make the repackaging and redistribution process easier (for example, the source tarball and its checksum can be used directly). This change applies to all source and binary Community packaging formats. Commercial (Enterprise) distributions are unchanged. * A new CMake option, WITH_ASAN, permits enabling address sanitization for compilers that support it. * Attempts to use the thread_concurrency system variable (which has an effect only for Solaris 8 and earlier) now indicate that it has no effect when that is the case. * Bugs Fixed
2013-09-30Changes 5.5.34:adam3-8/+7
* MySQL 5.7 changed audit log file output to a new format that has better compatibility with Oracle Audit Vault. This format has been backported to MySQL 5.5 and it is possible to select either the old or new format using the new audit_log_format system variable, which has permitted values of OLD and NEW (default OLD). For details about each format, see The Audit Log File. * InnoDB; Partitioning: Following any query on the INFORMATION_SCHEMA.PARTITIONS table, InnoDB index statistics as shown in the output of statements such as SELECT * FROM INFORMATION_SCHEMA.STATISTICS were read from the last partition, instead of from the partition containing the greatest number of rows. * InnoDB: The row_sel_sec_rec_is_for_clust_rec function would incorrectly prepare to compare a NULL column prefix in a secondary index with a non-NULL column in a clustered index. * InnoDB: An incorrect purge would occur when rolling back an update to a delete-marked record. * InnoDB: InnoDB would rename a user-defined foreign key constraint containing the string “_ibfk_” in its name, resulting in a duplicate constraint. * InnoDB: Rolling back an INSERT after a failed BLOB write would result in an assertion failure. The assertion has been modified to allow NULL BLOB pointers if an error occurs during a BLOB write. * InnoDB: A regression introduced with the fix for Bug 11762038 would cause InnoDB to raise an incorrect error message. The message stated that, “InnoDB cannot delete/update rows with cascading foreign key constraints that exceed max depth of 20”. The error message would occur when killing connections reading from InnoDB tables that did not have foreign key constraints. * InnoDB: The documentation incorrectly stated that START TRANSACTION WITH CONSISTENT SNAPSHOT provides a consistent snapshot only if the current isolation level is REPEATABLE READ or SERIALIZABLE. START TRANSACTION WITH CONSISTENT SNAPSHOT only works with REPEATABLE READ. All other isolation levels are ignored. The documentation has been revised and a warning is now generated whenever the WITH CONSISTENT SNAPSHOT clause is ignored. * InnoDB: The srv_master_thread background thread, which monitors server activity and performs activities such as page flushing when the server is inactive or in a shutdown state, runs on a one second delay loop. srv_master_thread would fail to check if the server is in a shutdown state before sleeping. more...
2013-08-31Always create symbolic links avoid to use ".so" macro and stop uglytaca1-7/+6
messages from daily (or weekly). Rebuilding man page index: man-gpl-tmp2/mysql_client_test.1: No such file or directory man-gpl-tmp2/mysqltest.1: No such file or directory Bump PKGREVISION.
2013-08-22Fix editline build.ryoon3-3/+29
Convert to use mk/readline.buildlink3.mk. No objection on pkgsrc-users@.