| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
buffer configurable.
The serve_audit_query_log_limit variable implemented.
Also QUERY_DCL filter added.
|
|
|
|
|
| |
plugin_variable_update() can get NULL as a value for a string parameter.
Needs to be checked and handled properly.
|
| |
|
| |
|
|
|
|
| |
typo (thanks, Brad Smith!)
|
|
|
|
|
|
|
|
| |
stat structure (from <sys/stat.h>) is conditionally defined
to have different layout and size depending on the defined macros.
The correct macro is defined in my_config.h, which means it MUST be
included first (or, at least before <features.h> - so, practically,
before including any system headers).
|
|
|
|
| |
if it has to be a mess of ifdefs, then mess of ifdefs it is
|
|\
| |
| |
| |
| |
| |
| | |
~40% bugfixed(*) applied
~40$ bugfixed reverted (incorrect or we're not buggy)
~20% bugfixed applied, despite us being not buggy
(*) only changes in the server code, e.g. not cmakefiles
|
| |
| |
| |
| |
| |
| | |
Some lines of code in file_logger.c were lost while moving to the
general MariaDB tree. Adding them.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
to copyright header.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The RTLD_DEFAULT value on Labrador machine is not NULL,
so the dlsym() commands in the server_audit just fail
to bind the necessary functions.
Fixed by using RTLD_DEFAULT explicitly.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mysql-test/suite/rpl/t/rpl_000011-master.opt:
Added master.opt file to ensure that other tests don't interfere with rpl_000011
plugin/server_audit/server_audit.c:
Fixed compiler error on solaris
support-files/compiler_warnings.supp:
Ignore warning from xtradb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
variable setting.
Notifications about changed variables:
server_audit_file_rotate_now
server_audit_file_rotations
server_audit_file_rotations
are now handled and one doesn't need to stop/start logging to make them effective.
|
| | |
|
| |
| |
| |
| | |
daemon plugin: join the thread to make sure it exits before the plugin is unloaded
|
|\ \
| |/
| |
| | |
(without few incorrect bugfixes and with 1250 files where only a copyright year was changed)
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.)
|
| |
| |
| |
| |
| |
| |
| | |
ReplSemiSyncMaster::updateSyncHeader contains redundant assignments
to the local variable sync.
This patch removes them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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_'.
|
| | |
|
| |
| |
| |
| |
| |
| | |
error in include/my_global.h
C++ comments in C files, and a typo in my_global.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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'.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/ |
|
|\ \ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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...
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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...
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
fix the code to compile w/o perfomance schema
|
| | | | |
| | | | |
| | | | |
| | | | | |
add a new command-line option --pam-use-cleartext-plugin
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
query cache size is 0
if qc->try_lock() fails, it's not an error
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Extend plugin auth api to support up to 512 bytes in the user names.
Use the API versioning to support old auth plugins too!
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / / |
|
| |\ \ \ \
| | |/ / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Link feedback plugin with yassl libraries, if with-ssl=bundled is used, since mysqld does not export SSL symbols anymore.
|
| | |\ \ \
| | | |/ / |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / / |
|
| |\ \ \ \
| | |/ / / |
|
| | |\ \ \
| | | |/ / |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
create audit_null.test
|
| | | | |
| | | | |
| | | | |
| | | | | |
fix the ssl related code to use newer function prototypes
|