summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* 10.0-base mergeSergei Golubchik2014-02-032-15/+17
|\
| * 5.5 mergeSergei Golubchik2014-02-012-15/+17
| |\
| | * MySQL-5.5.35 mergeSergei Golubchik2014-01-222-15/+17
| | |\
| | | * BUG#17460821: ASSERTION ERROR WHEN STOPPING SLAVE AFTER SEMI-SYNC ON MASTER ↵Luis Soares2013-10-171-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IS DISABLED The assertion happens when: (i) the master and slave are configured to use the semisync plugin; (ii) the DBA disables semisync on the master; (iii) and he also unsets the option to wait for slaves ACK even if the semisync slave count reaches 0 during the waiting period. This combination of factors makes the server run into an assertion as soon as the last semisync slave disconnects and its dump thread exits. The root of the problem is the fact that when the dump thread disconnects and calls the observer hook transmit_stop, which ends up calling ReplSemiSyncMaster::remove_slave, there is no check whether the master has already disabled semisync or not. If it has, the then a second call to the switch_off member function must be avoided. The quick fix is to avoid calling switch_off if the DBA has disabled the semisync plugin interactively on the master. Also, the switch_off member function should only be called if the plugin has not been switched off already. This is basically the pattern throughout the rest of the semisync plugin and no other calls seem vulnerable to similar crashes/assertions. (This a backport of the patch to 5.5, which is also vulnerable.)
| | | * BUG#17508351: REDUNDANT CODE IN REPLSEMISYNCMASTER::UPDATESYNCHEADERLuis Soares2013-10-081-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ReplSemiSyncMaster::updateSyncHeader contains redundant assignments to the local variable sync. This patch removes them.
| | | * Bug#17327454:SEMI-SYNC REPLICATION MASTER CRASH WHEN SETSujatha Sivakumar2013-09-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPL_SEMI_SYNC_MASTER_ENABLED OFF. Problem: ======= If master is waiting for a reply from slave, at this time set global rpl_semi_sync_master_enabled=OFF, the master server will crash. Analysis: ======== When master is waiting for a reply from slave, at this time if semi sync is switched off on master, during switch off if active transactions are present the transactions will be cleared and "active_tranxs_" variable will be set to NULL. When the waiting master connection finds that semi sync is switched of it tries to access "active_tranxs_" without checking if the transaction list exists or not. Accessing NULL transaction list causes the crash. Fix: === A check has been added to see a valid list exists before accessing the "active_tranxs_". plugin/semisync/semisync_master.cc: Added check for the existence of valid 'active_transx_'.
* | | | Percona-Server-5.6.14-rel62.0 mergeSergei Golubchik2013-12-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support ha_innodb.so as a dynamic plugin. * remove obsolete *,innodb_plugin.rdiff files * s/--plugin-load=/--plugin-load-add=/ * MYSQL_PLUGIN_IMPORT glob_hostname[] * use my_error instead of push_warning_printf(ER_DEFAULT) * don't use tdc_size and tc_size in a module update test cases (XtraDB is 5.6.14, InnoDB is 5.6.10) * copy new tests over * disable some tests for (old) InnoDB * delete XtraDB tests that no longer apply small compatibility changes: * s/HTON_EXTENDED_KEYS/HTON_SUPPORTS_EXTENDED_KEYS/ * revert unnecessary InnoDB changes to make it a bit closer to the upstream fix XtraDB to compile on Windows (both as a static and a dynamic plugin) disable XtraDB on Windows (deadlocks) and where no atomic ops are available (e.g. CentOS 5) storage/innobase/handler/ha_innodb.cc: revert few unnecessary changes to make it a bit closer to the original InnoDB storage/innobase/include/univ.i: correct the version to match what it was merged from
* | | | mergeSergei Golubchik2013-12-162-0/+4
|\ \ \ \
| * \ \ \ 10.0-base mergeSergei Golubchik2013-12-161-0/+2
| |\ \ \ \ |/ / / / / | | _ / / | | / /
| * | | 5.5 mergeSergei Golubchik2013-12-151-0/+2
| |\ \ \ | | |/ /
* | | | MDEV-4748 - metadata_lock_info pluginSergey Vojtovich2013-12-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | - include metadata_lock_info plugin into debian packages - ignore metadata_lock_info plugin in mysqld--help test - let test suite run with built-in metadata_lock_info plugin
* | | | add metadata_lock_infoKentoku SHIBA2013-12-1110-0/+254
| | | |
* | | | MDEV-201 - Assertion `!thd->spcont' failed in net_send_error on server shutdownSergei Golubchik2013-11-101-2/+3
| | | | | | | | | | | | | | | | | | | | restore sergii@pisem.net-20120327141644-xue6r05x1giswwsm that was lost in a merge
* | | | Merge 10.0-base -> 10.0Alexander Barkov2013-10-152-2/+6
|\ \ \ \ | |/ / /
| * | | A follow-up for the previous commit:Alexander Barkov2013-10-022-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDEV-4425 Regexp enhancements Adding ${CMAKE_BINARY_DIR}/pcre into search path for *.h files. Needed for find pcre.h (which is generated from pcre.h.in) when build directory != source directory.
| * | | MDEV-4425 REGEXP enhancementsAlexander Barkov2013-09-262-2/+2
| | | |
* | | | merge 10.0-base -> 10.0unknown2013-09-261-1/+5
|\ \ \ \ | |/ / /
| * | | merge 5.5 -> 10.0-baseunknown2013-09-251-1/+5
| |\ \ \ | | |/ /
| | * | Update feedback plugin to recognize Windows 8.1 / Windows Server 2012 R2.Vladislav Vaintroub2013-09-201-1/+5
| | | |
* | | | 10.0-base merge.Sergei Golubchik2013-09-217-339/+16
|\ \ \ \ | |/ / / | | | | | | | | | | | | Partitioning/InnoDB changes are *not* merged (they'll come from 5.6) TokuDB does not compile (not updated to 10.0 SE API)
| * | | 5.5 merge and fixes for compiler/test errorsSergei Golubchik2013-09-187-339/+16
| |\ \ \ | | |/ /
| | * | MDEV-4941 make: AIX fails with 'Identifier not allowed in cast'; syntax ↵Sergei Golubchik2013-09-091-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | error in include/my_global.h C++ comments in C files, and a typo in my_global.h
| | * | MDEV-4472 Audit-plugin. Server-related part of the task.Alexey Botchkov2013-09-095-322/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file_logger became the service. Data like query_id now are sent to the audit plugin. Fix for MDEV-4770 ported from 10.0. Fix added for the read_maria_plugin_info(). Log rotation can be disabled with 'set rotations=0'.
| | * | MDEV-4926: Remove division-using-subtraction implementation from semi-sync ↵Vladislav Vaintroub2013-09-031-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | plugin If rpl_semi_sync_master_timeout is large, calculation of absolute waiting time in semi-sync plugin is inefficient. This error is specific to systems with 64 bit long values (all 64 bit Unixes) In rpl_semi_sync_master_timeout has maximal value (= MAX_ULONGLONG), calculating abstime may require ~ 18 billion subtract operations. The fix is to use division instead of subtraction-in-a-loop. Also fixed an integer overflow bug.
* | | | MDEV-4786 - merge 10.0-monty - 10.0Sergey Vojtovich2013-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed query_response_time build failure. plugin/query_response_time/query_response_time.cc: my_atomic_rwlock_rdlock() may update time_collector_lock structure. Remove const modifier from relevant methods.
* | | | 10.0-monty mergeSergei Golubchik2013-07-214-8/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | includes: * remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING" * introduce LOCK_share, now LOCK_ha_data is strictly for engines * rea_create_table() always creates .par file (even in "frm-only" mode) * fix a 5.6 bug, temp file leak on dummy ALTER TABLE
| * | | | Applied all changes from Igor and SanjaMichael Widenius2013-06-151-1/+1
| | | | |
| * | | | Push a lot of small fixes to get larger parts to compileMichael Widenius2013-05-211-4/+1
| | | | |
* | | | | 10.0-base mergeSergei Golubchik2013-07-1827-10/+2289
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | 5.5 mergeSergei Golubchik2013-07-1711-10/+41
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | mysql-5.5.32 mergeSergei Golubchik2013-07-167-7/+7
| | |\ \ \ | | | | |/ | | | |/|
| | * | | Merge from 5.3Alexander Barkov2013-07-101-1/+1
| | |\ \ \
| | | * \ \ Merge from 5.2Alexander Barkov2013-07-091-1/+1
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: mysql-test/suite/plugins/r/fulltext_plugin.result mysql-test/suite/plugins/t/fulltext_plugin.test plugin/fulltext/plugin_example.c sql/sql_show.cc pending merges: Alexander Barkov 2013-07-09 [merge] Merge from 5.1 Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninst... Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
| | | | * \ \ Merge from 5.1Alexander Barkov2013-07-091-1/+1
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: mysql-test/suite/plugins/r/fulltext_plugin.result mysql-test/suite/plugins/t/fulltext_plugin.test plugin/fulltext/plugin_example.c sql/sql_show.cc pending merges: Sergei Golubchik 2013-07-06 Bug #69682 - mysqld crashes after uninstall ... Sergei Golubchik 2013-05-24 MDEV-4575 MySQL client doesn't strip off...
| | | | | * | | Bug #69682 - mysqld crashes after uninstall of plugin with "first" status varSergei Golubchik2013-07-061-1/+1
| | | | | | | |
| | * | | | | | MDEV-4685 Compile error on LFSSergei Golubchik2013-06-222-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix the code to compile w/o perfomance schema
| | * | | | | | MDEV-4636 use mysql_cleartext_plugin from auth_pamSergei Golubchik2013-06-111-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add a new command-line option --pam-use-cleartext-plugin
| * | | | | | | MDEV-4617 PLUGINS - Show internal Locales in I_SSergei Golubchik2013-06-242-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INFORMATION_SCHEMA.LOCALES plugin. Contribution by Roberto Spadim
| * | | | | | | MDEV-4568 - Port Percona response time distribution as audit pluginSergey Vojtovich2013-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor modification to trigger buildbot.
| * | | | | | | Merge.Sergey Vojtovich2013-06-0714-0/+2121
| |\ \ \ \ \ \ \
| | * | | | | | | MDEV-4568 - Port Percona response time distribution as audit pluginSergey Vojtovich2013-06-062-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test case fixes.
| | * | | | | | | MDEV-4568 - Port Percona response time distribution as audit pluginSergey Vojtovich2013-06-054-17/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test fixes.
| | * | | | | | | MDEV-4568 - Port Percona response time distribution as audit pluginSergey Vojtovich2013-06-0414-0/+2116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sql/sp_head.cc: Trigger MYSQL_AUDIT_GENERAL_STATUS event for each statement in stored procedures. Not strictly needed for query_response_time plugin, but makes it behave more like Percona patch.
* | | | | | | | | 10.0-base mergeSergei Golubchik2013-06-062-24/+72
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | (without InnoDB - all InnoDB changes were ignored)
| * | | | | | | | 5.5 mergeSergei Golubchik2013-06-062-24/+72
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| / / / / / / | | |/ / / / / /
| | * | | | | | MDEV-4516 SELECT from I_S.QUERY_CACHE_INFO produces ER_UNKNOWN_ERROR when ↵Sergei Golubchik2013-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | query cache size is 0 if qc->try_lock() fails, it's not an error
| | * | | | | | Fix build on WindowsVladislav Vaintroub2013-04-251-0/+4
| | | | | | | |
| | * | | | | | MDEV-260 auditing table accessesSergei Golubchik2013-04-191-24/+65
| | | | | | | |
* | | | | | | | Merge 10.0-base -> 10.0unknown2013-05-2815-112/+260
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge of patch lp:~ahiguti100/maria/handlersocket-fix-78 by Akira HiguchiMichael Widenius2013-05-1015-112/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A bugfix of HandlerSocket is not applied to mariadb yet