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
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
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
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
Michael Widenius
726b1998fc
Fixed feedback_plugin_load to work with staticly loaded plugin
2019-10-10 10:25: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
cf8c2a3c3b
Merge branch '10.1' into 10.2
2019-07-26 07:03:39 +02: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
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
fae6539ef7
restore the correct test result
2019-05-17 16:56:22 +02:00
Oleksandr Byelkin
8cbb14ef5d
Merge branch '10.1' into 10.2
2019-05-04 17:04:55 +02: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ä
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ä
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
Sergei Golubchik
676f43da3a
cleanup: don't ---replace_regex /#sql-.*/#sql-temporary/
...
no longer needed
2019-02-05 01:34:17 +01:00
Alexey Botchkov
c4ab352b67
MDEV-14576 Include full name of object in message about incorrect value for column.
...
The error message modified.
Then the TABLE_SHARE::error_table_name() implementation taken from 10.3,
to be used as a name of the table in this message.
2018-12-16 02:21:41 +04:00
Marko Mäkelä
206528f722
Merge 10.1 into 10.2
2018-08-31 15:10:02 +03:00
Alexey Botchkov
c933970974
MDEV-16665 ed25519 describes itself as 1.0-alpha even though it's not alpha.
...
Plugin version name fixed.
2018-08-30 15:57:22 +04:00
Oleksandr Byelkin
cb5952b506
Merge branch '10.0' into bb-10.1-merge-sanja
2018-07-25 22:24:40 +02:00
Oleksandr Byelkin
9fbe360e9f
make plugins.processlist more robust
2018-07-24 18:29:17 +02:00
Oleksandr Byelkin
e0139c2b92
fix plugins.processlist
...
make it not to fail when `show engine innodb status` output
contains a double quote
2018-07-24 18:16:41 +02:00
Sergei Golubchik
1dd3c8f8ba
Merge branch '10.1' into 10.2
2018-06-28 22:46:12 +02:00
Sergei Golubchik
16c14d7ba0
mark ed25519 stable
2018-06-28 15:46:57 +02:00
Sergei Golubchik
78a0646fe4
make plugins.processlist more robust
2018-06-28 12:38:58 +02:00
Sergei Golubchik
0d745343fc
fix plugins.processlist
...
make it not to fail when `show engine innodb status` output
contains a double quote
2018-06-22 09:52:21 +02:00
Sergei Golubchik
b942aa34c1
Merge branch '10.1' into 10.2
2018-06-21 23:47:39 +02:00
Sergei Golubchik
5d6b7f46fb
Merge branch '10.0' into 10.1
2018-06-14 18:06:08 +02:00
Sergei Golubchik
51254da52c
MDEV-15359 Thread stay in "cleaning up" status after finishing
...
make thd_get_error_context_description() to show not just
thd->proc_info, but exactly the same thread state that SHOW PROCESSLIST
shows.
2018-06-13 20:26:51 +02:00
Marko Mäkelä
82f0dc35aa
Merge 10.1 into 10.2
2018-05-11 18:33:58 +03:00
Alexey Botchkov
dab4abbb09
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:23:35 +04:00
Alexey Botchkov
3cbfe8cc47
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:17:06 +04:00
Alexey Botchkov
318097bb8f
MDEV-15480 Audit plugin does not respect QUERY_DML for audit plugin.
...
QUERY_DML_NO_SELECT flag added.
2018-05-10 19:00:54 +04:00
Sergei Golubchik
c764bc0a78
Merge branch '10.1' into 10.2
2018-03-25 13:02:52 +02:00
Alexey Botchkov
3b644ac1f7
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
disks.test moved to plugin's directory.
2018-03-24 00:30:28 +04:00
Marko Mäkelä
3d7915f000
Merge 10.1 into 10.2
2018-03-21 22:58:52 +02:00
Alexey Botchkov
9652038453
MDEV-14533 Provide information_schema tables using which hardware
...
information can be obtained.
DISKS plugin implementation added to the tree.
2018-03-21 12:33:38 +04:00
Sergei Golubchik
e4a73acc63
Merge branch '10.1' into 10.2
2018-02-22 16:46:02 +01:00
Sergei Golubchik
a04e4f531a
Merge branch '10.0' into 10.1
2018-02-22 14:12:02 +01:00
Sergei Golubchik
b728641e86
Merge branch '5.5' into 10.0
2018-02-22 09:22:03 +01:00