summaryrefslogtreecommitdiff
path: root/libmariadb
Commit message (Collapse)AuthorAgeFilesLines
* update C/CSergei Golubchik2018-05-151-0/+0
|
* Update Connector/CVicențiu Ciorbaru2018-03-181-0/+0
|
* Update C/CVladislav Vaintroub2018-02-141-0/+0
|
* Update Connector/CVicențiu Ciorbaru2018-02-071-0/+0
|
* update C/CVladislav Vaintroub2018-01-261-0/+0
|
* Fix and reenable Windows compiler warning C4800 (size_t conversion).Vladislav Vaintroub2018-01-261-0/+0
|
* Fix compilation warnings for libmariadbMarko Mäkelä2018-01-111-0/+0
|
* Update CONCVladislav Vaintroub2018-01-101-0/+0
|
* update libmariadbVladislav Vaintroub2018-01-041-0/+0
|
* Update Connector/CVicențiu Ciorbaru2017-12-281-0/+0
|
* Update C/C to fix unit tests with clangVladislav Vaintroub2017-11-241-0/+0
|
* MDEV-14483 Export _mysl_client_plugin_declaration from auth_gssapi_client.soVladislav Vaintroub2017-11-241-0/+0
| | | | Update C/C to include fix for this bug.
* update C/CVladislav Vaintroub2017-11-131-0/+0
|
* update C/CSergei Golubchik2017-10-261-0/+0
|
* Update C/CVladislav Vaintroub2017-10-031-0/+0
| | | | Fixes some warnings.
* Update libmariadb submoduleVicențiu Ciorbaru2017-09-201-0/+0
|
* MDEV-13370 Ambiguous behaviour regarding installation of header filesSergei Golubchik2017-08-141-0/+0
| | | | | install all server includes under /usr/include/mysql/server/ and C/C includes under /usr/include/mysql/
* Merge branch '10.1' into 10.2Sergei Golubchik2017-07-051-0/+0
|\
| * Remove accidentally added directory.Jan Lindström2016-10-291-0/+0
| |
| * A few fixes for VATS in 10.1sensssz2016-10-251-0/+0
|
* update libmariadbSergei Golubchik2017-07-051-0/+0
|
* new connector version which correspond BULK commandOleksandr Byelkin2017-06-141-0/+0
|
* update to the latest C/C to fix failures on WindowsSergei Golubchik2017-05-101-0/+0
|
* Update C/C (fix build on Windows)Vladislav Vaintroub2017-05-101-0/+0
|
* update C/CSergei Golubchik2017-05-091-0/+0
|
* include C/C fix for binding of int values to string variablesSergei Golubchik2017-04-011-0/+0
| | | | fixes many test failures in optimized builds in --ps-protocol
* restore libmariadb stateSergei Golubchik2017-03-311-0/+0
| | | | that was destroyed in a previous commit
* MDEV-12289 Keep 128 persistent rollback segments for compatibility and ↵Marko Mäkelä2017-03-311-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | performance InnoDB divides the allocation of undo logs into rollback segments. The DB_ROLL_PTR system column of clustered indexes can address up to 128 rollback segments (TRX_SYS_N_RSEGS). Originally, InnoDB only created one rollback segment. In MySQL 5.5 or in the InnoDB Plugin for MySQL 5.1, all 128 rollback segments were created. MySQL 5.7 hard-codes the rollback segment IDs 1..32 for temporary undo logs. On upgrade, unless a slow shutdown (innodb_fast_shutdown=0) was performed on the old server instance, these rollback segments could be in use by transactions that are in XA PREPARE state or transactions that were left behind by a server kill followed by a normal shutdown immediately after restart. Persistent tables cannot refer to temporary undo logs or vice versa. Therefore, we should keep two distinct sets of rollback segments: one for persistent tables and another for temporary tables. In this way, all 128 rollback segments will be available for both types of tables, which could improve performance. Also, MariaDB 10.2 will remain more compatible than MySQL 5.7 with data files from earlier versions of MySQL or MariaDB. trx_sys_t::temp_rsegs[TRX_SYS_N_RSEGS]: A new array of temporary rollback segments. The trx_sys_t::rseg_array[TRX_SYS_N_RSEGS] will be solely for persistent undo logs. srv_tmp_undo_logs. Remove. Use the constant TRX_SYS_N_RSEGS. srv_available_undo_logs: Change the type to ulong. trx_rseg_get_on_id(): Remove. Instead, let the callers refer to trx_sys directly. trx_rseg_create(), trx_sysf_rseg_find_free(): Remove unneeded parameters. These functions only deal with persistent undo logs. trx_temp_rseg_create(): New function, to create all temporary rollback segments at server startup. trx_rseg_t::is_persistent(): Determine if the rollback segment is for persistent tables. trx_sys_is_noredo_rseg_slot(): Remove. The callers must know based on context (such as table handle) whether the DB_ROLL_PTR is referring to a persistent undo log. trx_sys_create_rsegs(): Remove all parameters, which were always passed as global variables. Instead, modify the global variables directly. enum trx_rseg_type_t: Remove. trx_t::get_temp_rseg(): A method to ensure that a temporary rollback segment has been assigned for the transaction. trx_t::assign_temp_rseg(): Replaces trx_assign_rseg(). trx_purge_free_segment(), trx_purge_truncate_rseg_history(): Remove the redundant variable noredo=false. Temporary undo logs are discarded immediately at transaction commit or rollback, not lazily by purge. trx_purge_mark_undo_for_truncate(): Remove references to the temporary rollback segments. trx_purge_mark_undo_for_truncate(): Remove a check for temporary rollback segments. Only the dedicated persistent undo log tablespaces can be truncated. trx_undo_get_undo_rec_low(), trx_undo_get_undo_rec(): Add the parameter is_temp. trx_rseg_mem_restore(): Split from trx_rseg_mem_create(). Initialize the undo log and the rollback segment from the file data structures. trx_sysf_get_n_rseg_slots(): Renamed from trx_sysf_used_slots_for_redo_rseg(). Count the persistent rollback segment headers that have been initialized. trx_sys_close(): Also free trx_sys->temp_rsegs[]. get_next_redo_rseg(): Merged to trx_assign_rseg_low(). trx_assign_rseg_low(): Remove the parameters and access the global variables directly. Revert to simple round-robin, now that the whole trx_sys->rseg_array[] is for persistent undo log again. get_next_noredo_rseg(): Moved to trx_t::assign_temp_rseg(). srv_undo_tablespaces_init(): Remove some parameters and use the global variables directly. Clarify some error messages. Adjust the test innodb.log_file. Apparently, before these changes, InnoDB somehow ignored missing dedicated undo tablespace files that are pointed by the TRX_SYS header page, possibly losing part of essential transaction system state.
* update C/C to fix main.mysql_client_test_nonblock failuresSergei Golubchik2017-03-311-0/+0
|
* update libmariadb, enable C/C unit testsSergei Golubchik2017-03-301-0/+0
|
* update libmariadb, and fix debian packaging for client libsVladislav Vaintroub2016-12-221-0/+0
|
* Update libmariadbSergey Vojtovich2016-11-171-0/+0
|
* use latest Connector/C commitVladislav Vaintroub2016-09-241-0/+0
| | | | | Fixes file descriptor leak after unsuccessful attempt to open unix socket connection.
* use the latest C/C commitSergei Golubchik2016-09-221-0/+0
|
* buildbot failuresSergei Golubchik2016-09-221-0/+0
| | | | | * update net_field_length() to match the prototype * various bug fixes in C/C
* a couple of C/C bugs to fix failures in ps-protocolSergei Golubchik2016-09-191-0/+0
| | | | | | fixes: federated.federatedx rpl.rpl_sp rpl.rpl_colSize rpl.rpl_extra_col_slave_innodb rpl.rpl_extra_col_master_innodb rpl.rpl_udf rpl.rpl_extra_col_slave_myisam rpl.rpl_extra_col_master_myisam
* fix many rpl test failuresSergei Golubchik2016-09-151-0/+0
| | | | | * wait_until_connected_again.inc should expect ER_CONNECTION_KILLED now * also fix MySQL BUG#36228
* tls fixes in c/cSergei Golubchik2016-09-151-0/+0
|
* debian buildsSergei Golubchik2016-09-131-0/+0
|
* fix mysql_client_test testSergei Golubchik2016-09-121-0/+0
|
* restore support for symbol versioning in libmysqldSergei Golubchik2016-09-121-0/+0
| | | | (and fix compilation failure in c/c)
* pass openssl config to C/CSergei Golubchik2016-09-121-0/+0
| | | | | | * set OPENSSL_FOUND * use FindOpenSSL.cmake compatible variable names in ssl.cmake * show openssl version in full
* really add a submoduleSergei Golubchik2016-09-121-0/+0
|
* Add C/C as a submodule in libmariadb/Sergei Golubchik2016-09-121-127/+0
| | | | | | also * fix includes * rename cmake macros and targets to avoid name clashes
* MDEV-9293 - Use MariaDB's Connector/C in serverVladislav Vaintroub2016-08-251-0/+127
|
* Revert "MDEV-9293 Connector/C integration"Vladislav Vaintroub2016-08-191-127/+0
| | | | This reverts commit 7b89b9f5108c80f4f270da922d7e6c182a663719.
* MDEV-9293 Connector/C integrationVladislav Vaintroub2016-08-191-0/+127