Anel Husakovic
bf37b9fce9
MDEV-19636 Usage message for plugin activation - add FORCE_PLUS_PERMANENT
2019-07-02 12:03:39 +03:00
Alexey Botchkov
65e0c9b91b
MDEV-18661 loading the audit plugin causes performance regression.
...
Plugin fixed to not lock the LOCK_operations when not active.
Server fixed to lock the LOCK_plugin less - do it once per
thread and then only if a plugin was installed/uninstalled.
2019-06-15 01:02:55 +04:00
Vicențiu Ciorbaru
cb248f8806
Merge branch '5.5' into 10.1
2019-05-11 22:19:05 +03:00
Vicențiu Ciorbaru
5543b75550
Update FSF Address
...
* Update wrong zip-code
2019-05-11 21:29:06 +03:00
Sergei Golubchik
329058be29
wsrep: create a macro for the error: label
...
that is used by WSREP_TO_ISOLATION_BEGIN and other galera macros,
to avoid the need for wrapping this label in #ifdef WITH_WSREP/#endif
2018-10-24 14:48:08 +02:00
Sergei Golubchik
44682962e3
Fix another double WSREP_ISOLATION_BEGIN merge error
2018-06-20 11:10:27 +02:00
Vicențiu Ciorbaru
04c4745478
Fix double WSREP_ISOLATION_BEGIN merge error
2018-06-20 01:28:59 +03:00
Vicențiu Ciorbaru
6e55236c0a
Merge branch '10.0-galera' into 10.1
2018-06-12 19:39:37 +03:00
Jan Lindström
e1ffb66449
Merge tag 'mariadb-10.0.35' into 10.0-galera
2018-05-07 17:20:39 +03:00
Jan Lindström
648cf7176c
Merge remote-tracking branch 'origin/5.5-galera' into 10.0-galera
2018-05-07 13:49:14 +03:00
Jan Lindström
a5001a2ad7
Merge tag 'mariadb-5.5.60' into 5.5-galera
2018-04-24 13:34:57 +03:00
Marko Mäkelä
9c34a4124d
Merge 10.0 into 10.1
2018-04-24 09:26:40 +03:00
Sergei Golubchik
587568b72a
Merge branch '5.5' into 10.0
2018-04-20 14:33:24 +02:00
Sergei Golubchik
1a019d0801
Merge branch 'mysql/5.5' into 5.5
2018-04-19 22:31:26 +02:00
Sergei Golubchik
d4df7bc9b1
Merge branch 'github/10.0' into 10.1
2018-02-02 10:09:44 +01:00
Jan Lindström
c7e5feb259
Merge tag 'mariadb-10.0.34' into 10.0-galera
...
Conflicts:
storage/innobase/lock/lock0lock.cc
storage/xtradb/lock/lock0lock.cc
storage/xtradb/lock/lock0wait.cc
support-files/mysql.server.sh
2018-02-01 14:09:48 +02:00
Vicențiu Ciorbaru
d833bb65d5
Merge remote-tracking branch '5.5' into 10.0
2018-01-24 12:29:31 +02:00
Sergei Golubchik
22ae3843db
Correct TRASH() macro usage
...
TRASH was mapped to TRASH_FREE and was supposed to be used for memory
that should not be accessed anymore, while TRASH_ALLOC() is to be
used for uninitialized but to-be-used memory.
But sometimes TRASH() was used in the latter sense.
Remove TRASH() macro, always use explicit TRASH_ALLOC() or TRASH_FREE().
2018-01-22 11:39:54 +01:00
Sergei Golubchik
204cb85aab
Fix compilation without dlopen
2018-01-22 11:39:54 +01:00
sjaakola
91daf8819c
MW-416
...
Moved TOI replication to happen after ACL checking for commands:
SQLCOM_CREATE_EVENT
SQLCOM_ALTER_EVENT
SQLCOM_DROP_EVENT
SQLCOM_CREATE_VIEW
SQLCOM_CREATE_TRIGGER
SQLCOM_DROP_TRIGGER
SQLCOM_INSTALL_PLUGIN
SQLCOM_UNINSTALL_PLUGIN
2017-12-18 16:41:40 +01:00
Karthik Kamath
9e1035c64f
BUG#26881798: SERVER EXITS WHEN PRIMARY KEY IN MYSQL.PROC
...
IS DROPPED
ANALYSIS:
=========
It is advised not to tamper with the system tables.
When primary key is dropped from a system table, certain
operations on the table which tries to access the table key
information may lead to server exit.
FIX:
====
An appropriate error is now reported in such a case.
2017-12-05 19:49:59 +05:30
Sachin Setiya
3cecb1bab3
Merge tag 'mariadb-10.0.33' into bb-10.0-galera
2017-11-03 12:34:05 +05:30
Sergei Golubchik
9d2e2d7533
Merge branch '10.0' into 10.1
2017-10-22 13:03:41 +02:00
sjaakola
8822b30f1e
MW-416 Replicating DDL after ACL check, 5.6 version
...
Re-implemented the fix for MW-416 according to 5.7 version
2017-10-19 09:57:23 +03:00
Jan Lindström
8da6b4ef52
Merge tag 'mariadb-5.5.58' into 5.5-galera
2017-10-19 09:06:17 +03:00
Sergei Golubchik
da4503e956
Merge branch '5.5' into 10.0
2017-10-18 15:14:39 +02:00
Sergei Golubchik
d76f5774fe
MDEV-13459 Warnings, when compiling with gcc-7.x
...
mostly caused by -Wimplicit-fallthrough
2017-10-17 07:37:39 +02:00
Sergey Vojtovich
8be76a6a90
MDEV-10892 - rpl.rpl_semi_sync_uninstall_plugin fails with Assertion `0' failure
...
in buildbot
Removed plugin_array_version: it is being checked without mutex protection and
thus is prone to data race and race conditions. In effect plugins are not
protected from concurrent destruction.
Removed state_mask inversion: doesn't seem to make any sense.
When collecting local plugins list, only add plugins that match state_mask.
Use plugin ref counting to protect against concurrent plugin destruction.
2017-10-13 16:50:58 +04:00
Jan Lindström
56b03e308f
Merge tag 'mariadb-10.0.32' into 10.0-galera
2017-08-09 08:56:11 +03:00
Jan Lindström
a481de30bb
Merge tag 'mariadb-5.5.57' into 5.5-galera
2017-07-20 08:56:09 +03:00
Vicențiu Ciorbaru
2e335a471c
Merge remote-tracking branch '10.0' into 10.1
2017-06-21 16:19:43 +03:00
Vicențiu Ciorbaru
8baf9b0c46
Merge remote-tracking branch '5.5' into 10.0
2017-06-20 12:31:17 +03:00
Sergei Golubchik
918e47030b
MDEV-13063 Server crashes in intern_plugin_lock or assertion `plugin_ptr->ref_count == 1' fails in plugin_init
...
if a forced plugin is disabled (for any reason, e.g. invalid command-line
option) - it's an error
2017-06-14 11:30:32 +02:00
Sergei Golubchik
70b94c35d7
cleanup: move common test into a function
2017-06-14 11:27:36 +02:00
Sachin Setiya
92209ac6f6
Merge tag 'mariadb-10.0.31' into 10.0-galera
...
Signed-off-by: Sachin Setiya <sachin.setiya@mariadb.com >
2017-05-30 15:28:52 +05:30
Marko Mäkelä
71cd205956
Silence bogus GCC 7 warnings -Wimplicit-fallthrough
...
Do not silence uncertain cases, or fix any bugs.
The only functional change should be that ha_federated::extra()
is not calling DBUG_PRINT to report an unhandled case for
HA_EXTRA_PREPARE_FOR_DROP.
2017-05-17 08:27:04 +03:00
Marko Mäkelä
7972da8aa1
Silence bogus GCC 7 warnings -Wimplicit-fallthrough
...
Do not silence uncertain cases, or fix any bugs.
The only functional change should be that ha_federated::extra()
is not calling DBUG_PRINT to report an unhandled case for
HA_EXTRA_PREPARE_FOR_DROP.
2017-05-17 08:07:02 +03:00
Vladislav Vaintroub
f06ab0fc99
MDEV-9566 Server code changes in preparation for mariabackup
...
- Backup will load encryption plugins outside of mysqld. Thus, do not
force loading MyISAM plugin in plugin_load.
- init_signals() will be used in backup, make it global, not static.
2017-04-27 19:12:39 +02:00
Sergei Golubchik
227f63db3b
cleanup: sort various lists of services
2017-03-10 18:21:28 +01:00
Sergei Golubchik
6cddd12ad6
make sql_udf.cc to shorten dlerror() messages
...
just as sql_plugin.cc does
2017-03-10 18:21:26 +01:00
Sergei Golubchik
8eb66bc382
cleanup: change dd_frm_type() to return the engine name, not legacy_db_type
...
this simplifies the code and avoids unnecessary conversions back and forth.
and it works even if the engine is not installed.
2017-03-10 18:21:23 +01:00
Nirbhay Choubey
6dbfe7f399
MDEV-10944: GALERA log-slave-updates FAIL after upgrading from 10.1.17 to 10.1.18
...
thd->variables.option_bits need to be restored after
plugin_thdvar_init() during post initialization of
wsrep threads.
2016-11-02 09:45:43 -04:00
Nirbhay Choubey
5db2195a35
Merge tag 'mariadb-10.0.28' into 10.0-galera
2016-10-28 15:50:13 -04:00
Nirbhay Choubey
308c666b60
Merge remote-tracking branch 'origin/5.5' into 5.5-galera
2016-10-14 10:57:07 -04:00
Sergei Golubchik
ad20769450
init plugin psi keys before LOCK_plugin
2016-09-29 11:50:13 +02:00
Nirbhay Choubey
7c525ce36b
MDEV-9312: storage engine not enforced during galera cluster replication
...
Perform a post initialization of plugin-related variables
of wsrep threads after their global counterparts have been
initialized.
2016-09-28 13:26:13 -04:00
Sergei Golubchik
66d9696596
Merge branch '10.0' into 10.1
2016-09-28 17:55:28 +02:00
Sergei Golubchik
77ce4ead81
Merge branch '5.5' into 10.0
2016-09-27 09:21:19 +02:00
Sergei Golubchik
d61e5260fb
MDEV-10441 Document the server_audit_loc_info variable
...
fix PLUGIN_VAR_NOSYSVAR | PLUGIN_VAR_NOCMDOPT plugin thdvars to work.
use that for server_audit_loc_info
2016-09-26 17:48:08 +02:00
Nirbhay Choubey
c309e99ff9
Merge branch '10.0' into 10.0-galera
2016-08-24 19:30:32 -04:00