Jan Lindström
4e2a0c34b0
MDEV-10888: encryption.filekeys_emptyfile fails in buildbot with valgrind
...
Problem was that length of the filekeys file was not checked and if
length is less than OpenSSL_prefix_len uninitialized memory was
accessed.
2016-09-27 07:54:27 +03: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
Sergei Golubchik
61fd38a1de
update plugin maturities
2016-09-05 17:11:14 +02:00
Sergei Golubchik
ea91bb6801
MDEV-10361 Crash in pam_securid.so with auth_pam connecting from SQLyog
...
auth_pam: debug output
2016-08-24 20:41:26 +02:00
Sergei Golubchik
c5d73186c0
MDEV-8227 simple_password_check_minimal_length gets adjusted without a warning
2016-07-12 22:21:49 +02:00
Sergei Golubchik
3361aee591
Merge branch '10.0' into 10.1
2016-06-28 22:01:55 +02:00
Sergey Vojtovich
f289f3ee9c
MDEV-9728 - Hard crash in metadata_lock_info
...
Disable output of MDL lock duration since there is no facility to retreive
it properly.
2016-06-23 12:16:20 +04:00
Sergey Vojtovich
4abeebeed7
MDEV-9728 - Hard crash in metadata_lock_info
...
Reverted APC based fix. APC subsystem is not ready to serve metadata_lock_info
needs.
2016-06-23 12:06:16 +04:00
Sergei Golubchik
e167806196
compilation failures
...
windows: use GetProcAddress() to access internal server data structures
rhel5: CONNECT-JDBC requires at least Java 1.6
2016-06-22 16:12:50 +02:00
Sergei Golubchik
f9b5acfb0c
Merge branch 'bb-10.0-serg' into 10.0
2016-06-22 10:54:19 +02:00
Sergey Vojtovich
1f761c5615
MDEV-9728 - Hard crash in metadata_lock_info
...
Added missing target_thd initialization when processing local thread.
2016-06-21 23:34:31 +04:00
Sergey Vojtovich
82a96926a7
MDEV-9728 - Hard crash in metadata_lock_info
...
metadata_lock_info plugin called MDL_context::find_ticket() to obtain lock
duration, which in turn iterates foreign thread private lists. These lists
can be updated by owner thread without protection.
Fixed by iterating threads (instead of MDL locks and tickets) and obtaining
data through APC.
Also fixed mdl_iterate_lock() to initialize iterator under prlock protection.
2016-06-21 17:04:57 +04:00
Sergei Golubchik
c081c978a2
Merge branch '5.5' into bb-10.0
2016-06-21 14:11:02 +02:00
Sergei Golubchik
95bf696d2c
MDEV-9749 InnoDB receives 'Bad file descriptor' error, possibly related to feedback plugin
...
and
MDEV-10250 InnoDB: Error: File (unknown): 'close' returned OS error 209. Cannot continue operation"
after a failed connect() feedback plugin was continuing with the
file descriptor, trying to send the data (which failed) and
closing it at the end. Even though this fd might've been reused for
something else already.
2016-06-20 15:49:00 +02:00
Mario Weigel
626a62e5cc
MDEV-10214: Fix segfault when using groups in PAM user mapping plugin
2016-06-12 23:13:26 +12:00
Vladislav Vaintroub
683b88e66a
Mark gssapi plugin as stable. No open bug reports, and no further work planned, thus stable is accurate
2016-05-28 11:46:46 +02:00
Nirbhay Choubey
9b2151f6af
metadata_lock_info: Add compile time assertions
...
This is to ensure that the list of valid values for
METADATA_LOCK_INFO fields is always kept in sync with
the parent MDL types.
2016-05-05 09:19:39 -04:00
Sergei Golubchik
87e3e67f43
Merge branch '10.0' into 10.1
2016-05-04 15:23:26 +02:00
Monty
f6cc7f1bdc
Fixed failing test cases and compiler warnings
...
- Fixed wait condition in kill_processlist-6619
- Updated Ssl_chiper for openssl tests
- Added supression for valgrinds when using libcrypto
- Fixed wrong argument to pthread_mutex in server_audit.c when compiling with debug
- Adding missing debug_sync_update() to debug_sync.h
- Added initializers to some variables and fixed error handling in jsonudf.cpp
- Fixed cluster_filter_unpack_varchar which doesn't have a stable index type.
- Updated compiler_warnings.supp
2016-04-25 15:37:24 +03:00
Sergey Vojtovich
072ca71d26
MDEV-9281 - Debian: the Lintian complains about "shlib-calls-exit" in handlersocket.so
...
MDEV-9278 - Debian: the Lintian complains about "shlib-calls-exit" in ha_spider.so
Handlersocket handles errors in a way that it aborts program execution. In most
cases it is done via abort(). One exception was host/service resolution failure,
which was aborted with exit().
As a workaround replaced this exit() with abort() for symmetry with other error
handling.
2016-04-20 18:20:31 +04:00
Vicențiu Ciorbaru
16ddd1824c
MDEV-9613: keyfile without any keys crashes mysqld on loading file_key_management plugin
...
Code was assuming that the keys file would contain at least one valid
key. This caused a Dynamic_array::at(0) call that lead to the crash.
2016-03-22 22:20:33 +02:00
Sergei Golubchik
3b0c7ac1f9
Merge branch '10.0' into 10.1
2016-03-21 13:02:53 +01:00
Sergei Golubchik
b24a04c6e0
don't do anything for AWS plugin unless it's enabled
...
in particular, don't do ExternalProject_Add()
that starts creating build directories for a disabled
plugin
2016-03-19 19:40:33 +01:00
Sergei Golubchik
3fdc6140a3
update plugins' maturity levels
2016-03-18 22:05:23 +01:00
Akira Higuchi
1c84836819
fix that mysqld aborts on exit if an open handlersocket connection remains
2016-03-18 14:32:18 +04:00
Akira Higuchi
4f0fc0f912
fix a memory leak in handlersocket
2016-03-18 14:32:18 +04:00
Vladislav Vaintroub
d1e6c40294
mtr complains about klist is not found, if Kerberos is not installed on machines
2016-03-17 17:58:40 +01:00
Vladislav Vaintroub
46089d7691
MDEV-9659 : AWS KMS encryption plugin
2016-03-13 20:29:14 +01:00
Otto Kekäläinen
1777fd5f55
Fix spelling: occurred, execute, which etc
2016-03-04 02:09:37 +02:00
Sergei Golubchik
a5679af1b1
Merge branch '10.0' into 10.1
2016-02-23 21:35:05 +01:00
Vladislav Vaintroub
1ac64b7510
MDEV-9557 - fix compilation errors due to missing krb5_free_unparsed_name() in old versions of Heimdal Kerberos
2016-02-16 12:55:45 +00:00
Sergei Golubchik
271fed4106
Merge branch '5.5' into 10.0
2016-02-15 22:50:59 +01:00
Vladislav Vaintroub
e1385f2083
fix buffer overrun
2016-02-15 13:02:57 +01:00
Alexey Botchkov
93e9d81efa
Errorneous PSI declaration line fixed.
2016-02-12 12:04:11 +04:00
Sergei Golubchik
01628ce35a
Merge branch 'bb-5.5-serg' into 5.5
2016-02-09 14:08:36 +01:00
Sergei Golubchik
f3444df415
Merge branch 'mysql/5.5' into 5.5
...
reverted about half of commits as either not applicable or
outright wrong
2016-02-09 11:27:40 +01:00
Alexey Botchkov
ea0c3fc87b
MDEV-9438 backport feedback-http-proxy to 5.5 and 10.0.
...
The http-proxy option to the FEEDBACK plugin backported.
2016-02-09 05:19:56 +04:00
Vladislav Vaintroub
52d695fef4
Fix authentication plugin's tests in case username contains non-alphanumeric character, e.g dash
2016-02-01 17:51:57 +01:00
Vladislav Vaintroub
3d794d0ee8
MDEV9494 Fix build for Heimdal Kerberos
2016-01-31 00:36:33 +01:00
Vladislav Vaintroub
4b31e6dc95
Address review comments, add unit test
2016-01-27 16:34:05 +01:00
Georg Richter
ef3ca5c3ba
New authentication plugin for authentication via named pipe on Windows
...
operating systems.
The plugin gets the sid of the client process and considers the user
authenticated if the given username matches the username of this sid.
2016-01-27 16:34:05 +01:00
Sergei Golubchik
f4faac4d6a
Merge branch '10.0' into 10.1
2016-01-25 22:58:57 +01:00
Sergei Golubchik
5a5f18f3f7
MDEV-9205 PAM user map plugin does not work with LDAP groups
...
allow more characters in a valid user/group name:
* POSIX allows dashes '-' and dots '.'
* also the name may end with a dollar sign '$'
for our purposes it's enough to allow [-.$] anywhere in the name
2016-01-25 17:04:14 +01:00
Alexey Botchkov
1793646d78
Merge branch '5.5' into 10.0
...
Conflicts:
plugin/server_audit/server_audit.c
2016-01-25 16:37:08 +04:00
Robbie Harwood
42d9f3d87b
Fix spelling of my name
2016-01-20 13:24:30 -05:00
Vladislav Vaintroub
67cf76ad9b
MDEV 4691- address review comments
2016-01-19 11:59:32 +01:00
Alexey Botchkov
9c9d10b441
MDEV-9106 Audit plugin not working with MySQL 5.7.
...
fixing Windows crash.
2016-01-15 09:50:27 +04:00
Vladislav Vaintroub
55d61ec878
MDEV-4961 SSPI/GSSAPI/Kerberos authentication plugin
2016-01-14 13:31:08 +01:00
Alexey Botchkov
cdc9aa5b5b
MDEV-9106 Audit Plugin doesn't run with MySQL 5.7.
...
MariaDB 5.5 built in debug gets unhappy with mutexes.
Although everything is correct, some DBUG_ASSERT can happen.
So this patch keeps safe_mutex silent.
2016-01-13 15:27:53 +04:00
Alexey Botchkov
c9552533c9
MDEV-9106 Audit plugin compiled with MariaDB can't install on MySQL 5.7.
...
The audit API was seriously changed in MySQL 5.7.
so we had to adapt the plugin's code to that.
2016-01-12 18:43:55 +04:00