Marko Mäkelä
d6d3d9ae2f
Merge 10.2 into 10.3
2021-03-31 08:01:03 +03:00
Alexey Botchkov
94dea8ef5b
MDEV-25457 CREATE / DROP PROCEDURE not logged with audit plugin.
...
CREATE/DROP PROCEDIRE/FUNCTION is now treated as DDL.
2021-03-29 16:59:34 +04:00
Alexey Botchkov
96475b78c5
MDEV-25457 CREATE / DROP PROCEDURE not logged with audit plugin.
...
CREATE/DROP PROCEDIRE/FUNCTION is now treated as DDL.
2021-03-27 23:07:31 +04:00
Alexey Botchkov
a18b39e3f4
MDEV-24965 With ALTER USER ...IDENTIFIED BY command, password doesn't replaced by asterisks in audit log.
...
Test result fixed.
2021-03-01 20:08:14 +04:00
Alexey Botchkov
25ecf8ed4b
MDEV-24965 With ALTER USER ...IDENTIFIED BY command, password doesn't replaced by asterisks in audit log.
...
Check for the ALTER USER command added.
2021-02-26 13:26:00 +04:00
Marko Mäkelä
5a1a714187
Merge 10.2 into 10.3 (except MDEV-17556)
...
The fix of MDEV-17556 (commit e25623e78a
and commit 61a362c949
) has been
omitted due to conflicts and will have to be applied separately later.
2021-01-11 09:41:54 +02:00
Alexey Botchkov
78292047a4
MDEV-19442 server_audit plugin doesn't consider proxy users in server_audit_excl_users/server_audit_incl_users.
...
Check the proxy user just as the connection user against the
incl_users_list and excl_users_list.
2020-12-28 15:12:32 +04:00
Marko Mäkelä
fa1aef39eb
Merge 10.2 into 10.3
2020-12-23 14:25:45 +02:00
Alexey Botchkov
178d32f03b
MDEV-24318 server_audit doesn't respect filters for PROXY_CONNECT
...
events.
The log line should be added behind the filters.
2020-12-01 14:13:05 +04:00
Alexey Botchkov
5a9484b784
MDEV-19443 server_audit plugin doesn't log proxy users.
...
PROXY_USER event added.
Conflicts:
plugin/server_audit/server_audit.c
2020-10-23 12:28:42 +04:00
Alexey Botchkov
cc1646dae8
MDEV-19443 server_audit plugin doesn't log proxy users.
...
PROXY_USER event added.
2020-10-23 09:17:36 +04:00
Marko Mäkelä
66ec3a770f
Merge 10.2 into 10.3
2020-07-31 13:51:28 +03:00
Oleksandr Byelkin
2107e3bb9c
MDEV-21258: Can't uninstall plugin if the library file doesn't exist
...
Removing plugin from the mysql.plugin even if the plugin is not loaded
2020-07-29 12:34:53 +02:00
Marko Mäkelä
84db10f27b
Merge 10.2 into 10.3
2020-04-15 09:56:03 +03:00
Sergey Vojtovich
06219c2ad4
MDEV-21599 - plugins.server_audit fails sporadically in buildbot
...
Fixed a couple of race conditions in the test case to ensure stable order
of events. Also removed all sleeps. Test execution time is down from 18s
to 0.15s.
On disconnect audit event is triggered after control is returned to
mysqltest client. Which means mysqltest may issue more commands
concurrently before disconnect is actually logged.
Similar problem happens with regular query execution: an event is
triggered after control is returner to the client. Which may end
up with unstable order of events in different connections.
Delayed insert rows are enqueued separately and can either be combined
into single event or go as separate events. Reduced number of inserted
rows to 1 to stabilize result.
Also backported 2b3f6ab
from 10.5.
2020-04-10 19:35:53 +04:00
Oleksandr Byelkin
cb4da5da74
MDEV-20604: Duplicate key value is silently truncated to 64 characters in print_keydup_error
...
Added indication of truncated string for "s" and "M" formats
2020-04-01 11:34:32 +02:00
Oleksandr Byelkin
fafb35ee51
MDEV-20076: SHOW GRANTS does not quote role names properly
...
Quotes added to output.
2020-02-05 17:22:26 +01:00
Jan Lindström
9d9a2253c6
Merge remote-tracking branch 10.2 into 10.3
...
Conflicts:
mysql-test/suite/galera/t/galera_binlog_event_max_size_max-master.opt
mysql-test/suite/innodb/r/innodb-mdev-7513.result
mysql-test/suite/innodb/t/innodb-mdev-7513.test
mysql-test/suite/wsrep/disabled.def
storage/innobase/ibuf/ibuf0ibuf.cc
2019-12-02 14:35:10 +02:00
HF
3fb0fe400c
MENT-510 Failing test(s): perfschema.threads_insert_delayed.
...
orig_test_id should be set properly.
Also fixed sporadic test failure.
2019-11-29 21:25:52 +00:00
Alexey Botchkov
bfa6db38cd
MENT-510 Failing test(s): perfschema.threads_insert_delayed.
...
The thread_id of the INSERT DELAYED thread should not be set to 0.
2019-11-27 09:31:47 +04:00
Alexey Botchkov
0e403db2c8
MENT-237 Audit to show INSERT DELAYED for the executing user.
...
Add notifications about the user and connection that actually
did the DELAYED insert.
2019-11-27 09:23:00 +04:00
Marko Mäkelä
7f84e3ad75
Merge 10.2 into 10.3
2019-10-10 20:38:44 +03:00
Michael Widenius
726b1998fc
Fixed feedback_plugin_load to work with staticly loaded plugin
2019-10-10 10:25:32 +03:00
Monty
a071e0e029
Merge branch '10.2' into 10.3
2019-09-03 13:17:32 +03:00
Monty
9cba6c5aa3
Updated mtr files to support different compiled in options
...
This allows one to run the test suite even if any of the following
options are changed:
- character-set-server
- collation-server
- join-cache-level
- log-basename
- max-allowed-packet
- optimizer-switch
- query-cache-size and query-cache-type
- skip-name-resolve
- table-definition-cache
- table-open-cache
- Some innodb options
etc
Changes:
- Don't print out the value of system variables as one can't depend on
them to being constants.
- Don't set global variables to 'default' as the default may not
be the same as the test was started with if there was an additional
option file. Instead save original value and reset it at end of test.
- Test that depends on the latin1 character set should include
default_charset.inc or set the character set to latin1
- Test that depends on the original optimizer switch, should include
default_optimizer_switch.inc
- Test that depends on the value of a specific system variable should
set it in the test (like optimizer_use_condition_selectivity)
- Split subselect3.test into subselect3.test and subselect3.inc to
make it easier to set and reset system variables.
- Added .opt files for test that required specfic options that could
be changed by external configuration files.
- Fixed result files in rockdsb & tokudb that had not been updated for
a while.
2019-09-01 19:17:35 +03:00
Oleksandr Byelkin
d97342b6f2
Merge branch '10.2' into 10.3
2019-07-26 22:42:35 +02:00
Oleksandr Byelkin
cf8c2a3c3b
Merge branch '10.1' into 10.2
2019-07-26 07:03:39 +02:00
Marko Mäkelä
f3eb82f048
Merge 10.2 into 10.3
2019-07-25 18:09:34 +03:00
Marko Mäkelä
fc77a66c7e
Disable a failing test
2019-07-25 18:08:50 +03:00
Sergei Golubchik
aa83b9cf4f
update a test result, followup fae6539ef7
2019-06-03 15:15:20 +03:00
Marko Mäkelä
90a9193685
Merge 10.2 into 10.3
2019-05-29 11:32:46 +03:00
Alexey Botchkov
71ee69c81c
MDEV-17456 Malicious SUPER user can possibly change audit log configuration without leaving traces.
...
thread_pool_server_audit.result fixed.
2019-05-20 17:45:32 +04:00
Alexey Botchkov
d4e9a50e88
MDEV-17456 Malicious SUPER user can possibly change audit log configuration without leaving traces.
...
Fix for the SET GLOBAL server_audit_loggin=on; added.
2019-05-19 23:50:23 +04:00
Sergei Golubchik
2ae83affef
update a test result, followup fae6539ef7
2019-05-18 11:38:43 +02:00
Sergei Golubchik
c1fd027115
Merge branch '10.2' into 10.3
2019-05-17 17:23:01 +02:00
Sergei Golubchik
fae6539ef7
restore the correct test result
2019-05-17 16:56:22 +02:00
Oleksandr Byelkin
c51f85f882
Merge branch '10.2' into 10.3
2019-05-12 17:20:23 +02:00
Oleksandr Byelkin
8cbb14ef5d
Merge branch '10.1' into 10.2
2019-05-04 17:04:55 +02:00
Marko Mäkelä
447b8ba164
Merge 10.2 into 10.3
2019-04-29 17:54:10 +03:00
Alexey Botchkov
a529188e05
MDEV-17456 Malicious SUPER user can possibly change audit log configuration without leaving traces.
...
The 'SET server_audit_logging ' statements should be logged no matter
what.
2019-04-29 01:25:17 +04:00
Alexey Botchkov
cd26cdcd97
MDEV-19141 server_audit_excl_users accepts only values with less than 1024 chars.
...
Since this limit is imposed by the SHOW_VAR_FUNC_BUFF_SIZE, we just
launch the error message.
2019-04-29 00:11:48 +04:00
Sergei Golubchik
9ca3571cb8
MDEV-18686 Add option to PAM authentication plugin to allow case insensitive username matching
...
add a new option --pam-windbind-workaround for a pam plugin to
work around pam_winbind unconditional username lowercasing
2019-04-24 16:06:54 +02:00
Marko Mäkelä
cc492bfd4f
Merge 10.2 into 10.3
2019-04-07 11:49:50 +03:00
Marko Mäkelä
6b3e2ec10f
Re-record results for MTR_FEEDBACK_PLUGIN=1
2019-04-07 10:13:09 +03:00
Marko Mäkelä
c56ae2dfbd
Re-record plugins.feedback_plugin_load
2019-04-06 21:25:43 +03:00
Marko Mäkelä
349560d5d5
Merge 10.2 into 10.3
2019-03-27 13:27:04 +02:00
Marko Mäkelä
1e9c2b2305
Merge 10.1 into 10.2
2019-03-27 12:26:11 +02:00
Marko Mäkelä
a6585d5ce9
Merge 10.0 into 10.1
2019-03-27 11:56:08 +02:00
Marko Mäkelä
1933cf98e8
Merge 5.5 into 10.0
2019-03-26 14:13:46 +02:00
Sergey Vojtovich
e890711279
Fixed ps-protocol thread_pool_server_audit failure
...
By applying 7bd258c
.
2019-03-26 00:56:41 +04:00