summaryrefslogtreecommitdiff
path: root/include/mysql
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation10.2-sslVladislav Vaintroub2016-02-101-1/+1
|
* MDEV-6150 Speed up connection speed by moving creation of THD to new threadMonty2016-02-071-2/+0
| | | | | | | | | | | | | | | | 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 remote-tracking branch 'origin/10.1' into 10.2Alexander Barkov2015-12-295-3/+15
|\
| * Merge branch 'github/10.0-galera' into 10.1Sergei Golubchik2015-12-221-0/+3
| |\ | | | | | | | | | Note: some tests fail, just as they failed before the merge!
| | * Merge tag 'mariadb-10.0.23' into 10.0-galeraNirbhay Choubey2015-12-193-2/+5
| | |\
| | * | Add close-on-exec flag to open(), socket(), accept() & fopen().Nirbhay Choubey2015-06-241-1/+23
| | | |
| * | | Merge branch '10.0' into 10.1Sergei Golubchik2015-12-213-2/+5
| |\ \ \ | | | |/ | | |/|
| | * | Merge branch 'merge/merge-perfschema-5.6' into 10.0Sergei Golubchik2015-12-132-0/+3
| | |\ \
| | | * | 5.6.28Sergei Golubchik2015-12-132-0/+3
| | | | |
| | * | | Correct comments before mysql_socket_{g|s}etfd to refer to the right functionDaniel Black2015-12-111-2/+2
| | | |/ | | |/|
| * | | document %M formatSergei Golubchik2015-12-191-1/+5
| | | |
| * | | Fix warning about unused variable if FD_CLOEXEC is not definedVladislav Vaintroub2015-11-241-0/+2
| | | |
* | | | MDEV-8111 - remove "fast mutexes"Sergey Vojtovich2015-11-261-16/+0
| | | | | | | | | | | | | | | | | | | | They aren't faster than normal mutexes. They're disabled by default for years, so de facto it's dead code, never used.
* | | | cmake: remove unused checks, options, and symbolsSergei Golubchik2015-11-231-1/+1
|/ / /
* | | MDEV-8973 Build failure on missing alloca.hSergei Golubchik2015-11-161-0/+2
| | | | | | | | | | | | in *BSD family alloca() is in stdlib.h
* | | compilation failure on windowsSergei Golubchik2015-10-051-0/+2
| | |
* | | update encryption plugin and service versionsSergei Golubchik2015-09-041-1/+1
| | |
* | | document new encryption plugin apiSergei Golubchik2015-09-042-4/+38
| | |
* | | New encryption API. Piece-wise encryption.Sergei Golubchik2015-09-047-85/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of encrypt(src, dst, key, iv) that encrypts all data in one go, now we have encrypt_init(key,iv), encrypt_update(src,dst), and encrypt_finish(dst). This also causes collateral changes in the internal my_crypt.cc encryption functions and in the encryption service. There are wrappers to provide the old all-at-once encryption functionality. But binlog events are often written piecewise, they'll need the new api.
* | | compilation failures on WindowsSergei Golubchik2015-07-231-0/+4
| | |
* | | Merge branch '10.0-galera' into 10.1Nirbhay Choubey2015-07-142-2/+36
| | |
* | | cleanup: safer versions of PSI no-op macrosSergei Golubchik2015-06-271-6/+6
| | |
* | | Merge tag 'mariadb-10.0.20' into 10.1Sergei Golubchik2015-06-278-104/+0
|\ \ \ | |/ /
| * | Merge branch '5.5' into 10.0Sergei Golubchik2015-06-116-52/+0
| |\ \
| | * | MDEV-8052 abi detection incorrect with clangSergei Golubchik2015-06-036-40/+0
| | | | | | | | | | | | | | | | don't include #include directives into .pp files
* | | | MDEV-7956 - handler::rebind_psi() takes 0.07% in OLTP ROSergey Vojtovich2015-06-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not call handler::rebind_psi() and handler::unbind_psi() when performance schema is compiled out. Overhead change: handler::rebind_psi 0.04% -> out of radar handler::unbind_psi 0.03% -> out of radar open_table 0.21% -> 0.18% close_thread_table 0.05% -> 0.05%
* | | | just like tempfiles: use key id 2 for temp Aria tablesSergei Golubchik2015-06-021-0/+3
| | | | | | | | | | | | | | | | | | | | introduce ENCRYPTION_KEY_SYSTEM_DATA and ENCRYPTION_KEY_TEMPORARY_DATA constants; use them everywhere.
* | | | Merge tag 'mariadb-10.0.19' into 10.1Sergei Golubchik2015-06-015-79/+32
|\ \ \ \ | |/ / /
| * | | perfschema 5.6.24Sergei Golubchik2015-05-055-79/+32
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | including the big commit commit 305130361bf72726de220f3d2b2787395e10be61 Author: Marc Alff <marc.alff@oracle.com> Date: Tue Feb 10 11:31:32 2015 +0100 WL#8354 BACKPORT DIGEST IMPROVEMENTS TO MYSQL 5.6 (with the following commits) and related changes in sql/
| | * | 5.6.24Sergei Golubchik2015-05-045-79/+32
| | | |
* | | | Identical key derivation code in XtraDB/InnoDB/AriaSergei Golubchik2015-05-158-1/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Extract it into the "encryption_scheme" service. * Make these engines to use the service, remove duplicate code. * Change MY_AES_xxx error codes, to return them safely from encryption_scheme_encrypt/decrypt without conflicting with ENCRYPTION_SCHEME_KEY_INVALID error
* | | | Add encryption key id to the API as a distinct conceptSergei Golubchik2015-04-097-44/+58
| | | | | | | | | | | | | | | | which is separate from the encryption key version
* | | | renames to follow single consistent naming styleSergei Golubchik2015-04-098-112/+119
| | | | | | | | | | | | | | | | with namespace prefixes
* | | | remove wrappers in encryption_keys.ccSergei Golubchik2015-04-096-90/+26
| | | | | | | | | | | | | | | | invoke plugin methods directly
* | | | encryption plugin controls the encryptionSergei Golubchik2015-04-097-6/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * no --encryption-algorithm option anymore * encrypt/decrypt methods in the encryption plugin * ecnrypt/decrypt methods in the encryption_km service * file_km plugin has --file-key-management-encryption-algorithm * debug_km always uses aes_cbc * example_km changes between aes_cbc and aes_ecb for different key versions
* | | | rename "encryption key management plugin" to "encryption plugin"Sergei Golubchik2015-04-094-9/+9
| | | | | | | | | | | | | | | | because it's going to do more than just key management
* | | | optimize encryption apiSergei Golubchik2015-04-087-39/+34
| | | | | | | | | | | | | | | | | | | | only one encryption key lookup in most cases instead of three (has_key, get_key_size, get_key).
* | | | copy-paste bug in service_sha1.hSergei Golubchik2015-04-081-4/+4
| | | |
* | | | small cleanupSergei Golubchik2015-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * my_aes.h doesn't compile without my_global.h * typo in a comment * redundant condition * if encryption plugin fails, there's no encryption_key_manager at plugin deinit time * encryption plugin tests must run when plugin.so is present, not when a plugin is active (otherwise the test will be skipped when plugin fails to initialize).
* | | | remove get_iv() from the key management plugin APISergei Golubchik2015-04-087-23/+0
| | | | | | | | | | | | | | | | now IVs are always handled internally
* | | | encryption cleanup: delete obsolete filesSergei Golubchik2015-04-051-60/+0
| | | | | | | | | | | | | | | | they should've been deleted long ago, but weren't
* | | | MDEV-6819 st_mysql_show_var::value should be void* not char*Sergei Golubchik2015-03-076-12/+12
| | | |
* | | | MDEV-7572: InnoDB: Assertion failure in log_init_crypt_key ifJan Lindström2015-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | file_key_management_plugin is used Fixed error handling and added disabling InnoDB redo log encryption if encryption key management plugin is not there.
* | | | encryption keys serviceSergei Golubchik2015-02-108-0/+186
| | | |
* | | | encryption key management plugin apiSergei Golubchik2015-02-103-2/+439
| | | |
* | | | Push for testing of encryptionMonty2015-02-101-1/+2
| | | |
* | | | password validation plugin API: renamesSergei Golubchik2015-02-102-4/+4
| | | |
* | | | Improve performance for calculating memory allocationMonty2015-02-015-5/+26
| | | | | | | | | | | | | | | | Extend interface for 'show variables' with current scope
* | | | remove wsrep_hton dependency from innodb/xtradbSergei Golubchik2015-01-081-3/+3
| | | |
* | | | MDEV-6712 THD specifics for pluginsSergei Golubchik2014-12-046-0/+159
| | | | | | | | | | | | | | | | thd_specifics service