summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed compiler warnings and test failures found by buildbotMonty2016-06-221-12/+12
|
* General spell fixing in comments and stringsOtto Kekäläinen2016-06-083-3/+3
|
* cleanup: thread_countSergei Golubchik2016-06-042-4/+0
| | | | | | | move thread_count handling into THD: * increment thread_count in THD constructor * decrement thread_count in THD destructor * never modify thread_count directly!
* Reuse THD for new user connectionsMonty2016-06-042-4/+4
| | | | | | | | | | | | | | - To ensure that mallocs are marked for the correct THD, even if it's allocated in another thread, I added the thread_id to the THD constructor - Added st_my_thread_var to thr_lock_info_init() to avoid a call to my_thread_var - Moved things from THD::THD() to THD::init() - Moved some things to THD::cleanup() - Added THD::free_connection() and THD::reset_for_reuse() - Added THD to CONNECT::create_thd() - Added THD::thread_dbug_id and st_my_thread_var->dbug_id. These are needed to ensure that we have a constant thread_id used for debugging with a THD, even if it changes thread_id (=connection_id) - Set variables.pseudo_thread_id in constructor. Removed not needed sets.
* Fix compile errorsVladislav Vaintroub2016-04-281-0/+1
|
* Final fixes for Memory_usedMonty2016-04-281-7/+7
| | | | | | | | - Change some static variables to dynamic to ensure that we don't do any memory allocations before server starts or stops - Print more memory information on SIGHUP. Fixed output. - Write out if memory was lost if run with --debug-at-exit - Fixed wrong #ifdef in sql_cache.cc
* CleanupsMonty2016-04-281-1/+6
| | | | | | | | - Avoid some realloc() during startup - Ensure that file_key_management_plugin frees it's memory early, even if it's linked statically. - Fixed compiler warnings from unused variables and missing destructors - Fixed wrong indentation
* Merge branch '10.1' into 10.2Sergei Golubchik2016-03-2320-24/+766
|\
| * MDEV-9613: keyfile without any keys crashes mysqld on loading ↵Vicențiu Ciorbaru2016-03-221-1/+1
| | | | | | | | | | | | | | 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.
| * Merge branch '10.0' into 10.1Sergei Golubchik2016-03-212-6/+6
| |\
| | * Fix spelling: occurred, execute, which etcOtto Kekäläinen2016-03-042-6/+6
| | |
| * | don't do anything for AWS plugin unless it's enabledSergei Golubchik2016-03-191-4/+7
| | | | | | | | | | | | | | | | | | in particular, don't do ExternalProject_Add() that starts creating build directories for a disabled plugin
| * | update plugins' maturity levelsSergei Golubchik2016-03-1813-15/+15
| | |
| * | fix that mysqld aborts on exit if an open handlersocket connection remainsAkira Higuchi2016-03-181-1/+1
| | |
| * | fix a memory leak in handlersocketAkira Higuchi2016-03-181-0/+1
| | |
| * | mtr complains about klist is not found, if Kerberos is not installed on machinesVladislav Vaintroub2016-03-171-1/+1
| | |
| * | MDEV-9659 : AWS KMS encryption pluginVladislav Vaintroub2016-03-132-0/+738
| | |
* | | MDEV-7331 - information_schema.user_variablesSergey Vojtovich2016-02-266-0/+241
| | |
* | | Fixed plugins.feedback_plugin_send failureSergey Vojtovich2016-02-261-0/+1
| | | | | | | | | | | | | | | Fixed assertion failure introduced along with MDEV-6150 (thd must be unlinked before calling "delete thd").
* | | Merge branch '10.1' into 10.2Sergei Golubchik2016-02-257-10/+24
|\ \ \ | |/ /
| * | Merge branch '10.0' into 10.1Sergei Golubchik2016-02-234-8/+10
| |\ \ | | |/
| | * Merge branch '5.5' into 10.0Sergei Golubchik2016-02-156-19/+109
| | |\
| | | * fix buffer overrunVladislav Vaintroub2016-02-151-1/+1
| | | |
| | | * Errorneous PSI declaration line fixed.Alexey Botchkov2016-02-121-3/+7
| | | |
| | | * Merge branch 'bb-5.5-serg' into 5.5Sergei Golubchik2016-02-091-2/+2
| | | |\
| | | | * Merge branch 'mysql/5.5' into 5.5Sergei Golubchik2016-02-091-2/+2
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | reverted about half of commits as either not applicable or outright wrong
| | | | | * Bug#21770366 backport bug#21657078 to 5.5 and 5.6Ajo Robert2016-01-071-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem Statement ========= Fix various issues when building MySQL with Visual Studio 2015. Fix: ======= - Visual Studio 2015 adds support for timespec. Add check and related code to use this and only use our replacement if timespec is not defined. - Rename lfind/lsearch to my* to avoid redefinition problems. - Set default value for TMPDIR to "" on Windows as P_tmpdir no longer exists. - using VS definition of snprintf if available - tzname are now renamed to _tzname.
| | | * | | MDEV-9438 backport feedback-http-proxy to 5.5 and 10.0.Alexey Botchkov2016-02-094-13/+99
| | | |/ / | | | | | | | | | | | | | | | The http-proxy option to the FEEDBACK plugin backported.
| * | | | MDEV-9557 - fix compilation errors due to missing krb5_free_unparsed_name() ↵Vladislav Vaintroub2016-02-163-2/+14
| | | | | | | | | | | | | | | | | | | | in old versions of Heimdal Kerberos
* | | | | Changed my_thread_id to int64 to fix compilation problem withMonty2016-02-082-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | my_atomic_add32_explicit on windows Fixed that server_audit.c also works if one compiles with safemalloc Fixed compiler warnings
* | | | | MDEV-6150 Speed up connection speed by moving creation of THD to new threadMonty2016-02-072-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creating a CONNECT object on client connect and pass this to the working thread which creates the THD. Split LOCK_thread_count to different mutexes Added LOCK_thread_start to syncronize threads Moved most usage of LOCK_thread_count to dedicated functions Use next_thread_id() instead of thread_id++ Other things: - Thread id now starts from 1 instead of 2 - Added cast for thread_id as thread id is now of type my_thread_id - Made THD->host const (To ensure it's not changed) - Removed some DBUG_PRINT() about entering/exiting mutex as these was already logged by mutex code - Fixed that aborted_connects and connection_errors_internal are counted in all cases - Don't take locks for current_linfo when we set it (not needed as it was 0 before)
* | | | | Merge branch '10.1' into 10.2Monty2016-02-0628-277/+3303
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: VERSION cmake/plugin.cmake config.h.cmake configure.cmake plugin/server_audit/server_audit.c sql/sql_yacc.yy
| * | | | Fix authentication plugin's tests in case username contains non-alphanumeric ↵Vladislav Vaintroub2016-02-012-4/+4
| | | | | | | | | | | | | | | | | | | | character, e.g dash
| * | | | MDEV9494 Fix build for Heimdal KerberosVladislav Vaintroub2016-01-311-1/+1
| | | | |
| * | | | Address review comments, add unit testVladislav Vaintroub2016-01-272-69/+21
| | | | |
| * | | | New authentication plugin for authentication via named pipe on WindowsGeorg Richter2016-01-272-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Merge branch '10.0' into 10.1Sergei Golubchik2016-01-254-275/+1321
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '5.5' into 10.0Alexey Botchkov2016-01-254-275/+1321
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | Conflicts: plugin/server_audit/server_audit.c
| | | * | MDEV-9106 Audit plugin not working with MySQL 5.7.Alexey Botchkov2016-01-151-3/+44
| | | | | | | | | | | | | | | | | | | | fixing Windows crash.
| | | * | MDEV-9106 Audit Plugin doesn't run with MySQL 5.7.Alexey Botchkov2016-01-131-17/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | MDEV-9106 Audit plugin compiled with MariaDB can't install on MySQL 5.7.Alexey Botchkov2016-01-124-261/+1254
| | | | | | | | | | | | | | | | | | | | | | | | | The audit API was seriously changed in MySQL 5.7. so we had to adapt the plugin's code to that.
| * | | | MDEV-9205 PAM user map plugin does not work with LDAP groupsSergei Golubchik2016-01-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Fix spelling of my nameRobbie Harwood2016-01-201-1/+1
| | | | |
| * | | | MDEV 4691- address review commentsVladislav Vaintroub2016-01-1915-22/+55
| | | | |
| * | | | MDEV-4961 SSPI/GSSAPI/Kerberos authentication pluginVladislav Vaintroub2016-01-1419-0/+1854
| | | | |
* | | | | Merge remote-tracking branch 'origin/10.1' into 10.2Alexander Barkov2015-12-296-13/+20
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.0' into 10.1Sergei Golubchik2015-12-216-13/+20
| |\ \ \ \ | | |/ / /
| | * | | Fixed auth_socket static compilationSergey Vojtovich2015-12-182-2/+2
| | | | |
| | * | | MDEV-8378 - Debian: the Lintian complains about many "shlib-calls-exit" in manymariadb-10.0.23Sergey Vojtovich2015-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the plugins Removed exit() from daemon_example, pass error to caller instead. Also removed unused my_abort_hook.
| | * | | Merge branch '5.5' into 10.0Sergei Golubchik2015-12-134-10/+17
| | |\ \ \ | | | |/ /