Oleksandr Byelkin
cf63eecef4
Merge branch '10.4' into 10.5
2022-02-01 20:33:04 +01:00
Oleksandr Byelkin
a576a1cea5
Merge branch '10.3' into 10.4
2022-01-30 09:46:52 +01:00
Oleksandr Byelkin
41a163ac5c
Merge branch '10.2' into 10.3
2022-01-29 15:41:05 +01:00
Alexander Barkov
430d60d1fc
MDEV-24487 Error after update to 10.5.8 on CentOS-8: DBD::mysql::st execute failed: Unknown MySQL error
...
The problem happened because the the new client capability flag
CLIENT_EXTENDED_METADATA was not put into the cache entry key.
So results cached by a new client were sent to the old client (and vica versa)
with a mis-matching metadata, which made the client abort the connection on
an unexpected result set metadata packet format.
The problem was caused by the patch for:
MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY
which forgot to adjust the query cache code.
Fix:
- Adding a new member Query_cache_query_flags::client_extended_metadata,
so only clients with equal CLIENT_EXTENDED_METADATA flag values can
reuse results.
- Adding a new column CLIENT_EXTENDED_METADATA into
INFORMATION_SCHEMA.QUERY_CACHE_INFO (privided by the qc_info plugin).
2022-01-27 15:54:20 +04:00
Maheedhar PV
991d5dce32
Bug#31374305 - FORMAT() NOT DISPLAYING WHOLE NUMBER SIDE CORRECTLY FOR ES_MX AND ES_ES LOCALES
...
Changed the grouping and decimal separator for spanish locales as per
ICU.
Change-Id: I5d80fa59d3e66372d904e17c22c532d4dd2c565b
2022-01-21 16:02:34 +01:00
Sergei Golubchik
7b555ff2c5
MDEV-27341 Use SET PASSWORD to change PAM service
...
SET PASSWORD = PASSWORD('foo') would fail for pam plugin with
ERROR HY000: SET PASSWORD is ignored for users authenticating via pam plugin
but SET PASSWORD = 'foo' would not.
Now it will.
2022-01-17 18:19:29 +01:00
Sergei Golubchik
da76d25ab4
MDEV-26339 Account specifics to be handled before proxying
2022-01-17 18:19:29 +01:00
Marko Mäkelä
a8ded39557
Merge 10.4 into 10.5
2021-10-28 08:48:36 +03:00
Marko Mäkelä
3a79e5fd31
Merge 10.3 into 10.4
2021-10-28 08:28:39 +03:00
Marko Mäkelä
657bcf928e
Merge 10.2 into 10.3
2021-10-28 07:50:05 +03:00
Alexey Botchkov
d627d00b13
MDEV-26556 An improper locking bug(s) due to unreleased lock.
...
Get rid of the global big_buffer.
2021-10-25 19:53:25 +04:00
Marko Mäkelä
5f8561a6bc
Merge 10.4 into 10.5
2021-10-21 15:26:25 +03:00
Oleksandr Byelkin
c9a9ae6554
MDEV-26650: Failed ALTER USER/GRANT statement removes the password from the cache
...
Starting from 10.4 AUTH is not part of ACL_USER so changes have to be done
over a copy, and bring in the cache only in case of success.
2021-10-18 12:09:59 +02:00
Marko Mäkelä
99bb3fb656
Merge 10.4 into 10.5
2021-10-13 12:33:56 +03:00
Marko Mäkelä
a736a3174a
Merge 10.3 into 10.4
2021-10-13 12:03:32 +03:00
Marko Mäkelä
4a7dfda373
Merge 10.2 into 10.3
2021-10-13 11:38:21 +03:00
Marko Mäkelä
1d71dacd51
MDEV-24454 fixup: Fix plugins.feedback_plugin_send
...
In commit 3690c549c6
this test was not adjusted.
2021-10-11 10:15:52 +03:00
Marko Mäkelä
064cb58efe
Merge 10.4 into 10.5
...
FIXME: Part of the MDEV-20699 test is disabled due to
nonderterministic result.
2021-09-30 09:04:43 +03:00
Marko Mäkelä
a10b63bf58
Merge 10.3 into 10.4
2021-09-29 16:03:02 +03:00
Marko Mäkelä
742b37a345
Merge 10.2 into 10.3
2021-09-29 15:04:20 +03:00
Oleksandr Byelkin
3690c549c6
MDEV-24454 Crash at change_item_tree
...
Use in_sum_func (and so nest_level) only in LEX to which SELECT lex belong to
Reduce usage of current_select (because it does not always point on the correct
SELECT_LEX, for example with prepare.
Change context for all classes inherited from Item_ident (was only for Item_field) in case of pushing down it to HAVING.
Now name resolution context have to have SELECT_LEX reference if the context is present.
Fixed feedback plugin stack usage.
2021-09-27 11:00:51 +02:00
Marko Mäkelä
15dcb8bd3e
Merge 10.4 into 10.5
2021-07-02 13:02:26 +03:00
Daniel Black
fa8eb4de55
mtr: plugin.multiauth aix fix
...
The error loading the client module is different
2021-07-02 17:18:51 +10:00
Marko Mäkelä
a42c80bd48
Merge 10.4 into 10.5
2021-06-21 14:22:22 +03:00
Marko Mäkelä
d3e4fae797
Merge 10.3 into 10.4
2021-06-21 12:38:25 +03:00
Marko Mäkelä
c9a85fb1b1
Merge 10.2 into 10.3
2021-06-21 09:07:40 +03:00
Elena Stepanova
0b9a59bbc4
MDEV-25884 Tests use environment $USER variable without quotes
...
These are only 10.4+ tests. 10.2+ tests are pushed into 10.2
and will be merged into 10.4+ independently
2021-06-10 00:39:04 +03:00
Elena Stepanova
7a1eff0a9d
MDEV-25884 Tests use environment $USER variable without quotes
2021-06-10 00:26:56 +03:00
Marko Mäkelä
5eae8c2742
Merge 10.4 into 10.5
2021-03-31 11:05:21 +03:00
Marko Mäkelä
50de71b026
Merge 10.3 into 10.4
2021-03-31 09:47:14 +03:00
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
Marko Mäkelä
10d544aa7b
Merge 10.4 into 10.5
2021-03-05 12:54:43 +02:00
Marko Mäkelä
8bab5bb332
Merge 10.3 into 10.4
2021-03-05 10:36:51 +02: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ä
8de233af81
Merge 10.4 into 10.5
2021-01-11 16:29:51 +02:00
Marko Mäkelä
fd5e103aa4
Merge 10.3 into 10.4
2021-01-11 10:35:06 +02: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
Oleksandr Byelkin
02e7bff882
Merge commit '10.4' into 10.5
2021-01-06 10:53:00 +01: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ä
0aa02567dd
Merge 10.3 into 10.4
2020-12-23 14:52:59 +02: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
Marko Mäkelä
898521e2dd
Merge 10.4 into 10.5
2020-10-30 11:15:30 +02:00
Marko Mäkelä
7b2bb67113
Merge 10.3 into 10.4
2020-10-29 13:38:38 +02: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
Alexey Botchkov
0ccdf8b11b
MDEV-19275 Provide SQL service to plugins.
...
test_sql_service plugin added and employed in test_sql_service.test.
2020-10-02 10:19:00 +04:00