summaryrefslogtreecommitdiff
path: root/include/mysql
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.6 into 10.8Marko Mäkelä2023-03-161-7/+4
|\
| * Merge 10.5 into 10.6Marko Mäkelä2023-03-101-7/+4
| |\
| | * move alloca() definition from all *.h files to one new header fileJulius Goryavsky2023-03-071-7/+4
| | |
* | | Merge 10.6 into 10.7Marko Mäkelä2023-01-241-0/+12
|\ \ \ | |/ /
| * | MDEV-24623 Replicate bulk insert as table-level exclusive keyDenis Protivensky2023-01-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - introduce table key construction function in wsrep service interface - don't add row keys when replicating bulk insert - don't start bulk insert on applier or when transaction is not active - don't start bulk insert on system versioned tables - implement actual bulk insert table-level key replication Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
* | | Merge 10.6 into 10.7Marko Mäkelä2023-01-046-6/+6
|\ \ \ | |/ /
| * | Merge 10.5 into 10.6Marko Mäkelä2023-01-036-6/+6
| |\ \ | | |/
| | * Merge 10.4 into 10.5Marko Mäkelä2023-01-035-5/+5
| | |\
| | | * Merge 10.3 into 10.4Marko Mäkelä2023-01-035-5/+5
| | | |\
| | | | * header typosmusvaage2022-12-205-5/+5
| | | | |
| | * | | header typomusvaage2022-12-201-1/+1
| | | | |
* | | | | header typomusvaage2022-12-201-1/+1
| | | | |
* | | | | Merge 10.6 into 10.7Marko Mäkelä2022-12-138-0/+82
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-12-138-0/+82
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.4 into 10.5Marko Mäkelä2022-12-138-0/+82
| | |\ \ \ | | | |/ /
| | | * | Merge 10.3 into 10.4Marko Mäkelä2022-12-136-0/+62
| | | |\ \ | | | | |/
| | | | * MDEV-29473 UBSAN: Signed integer overflow: X * Y cannot be represented in ↵Alexander Barkov2022-11-176-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type 'int' in strings/dtoa.c Fixing a few problems relealed by UBSAN in type_float.test - multiplication overflow in dtoa.c - uninitialized Field::geom_type (and Field::srid as well) - Wrong call-back function types used in combination with SHOW_FUNC. Changes in the mysql_show_var_func data type definition were not properly addressed all around the code by the following commits: b4ff64568c88ab3ce559e7bd39853d9cbf86704a 18feb62feeb833494d003615861b9c78ec008a90 0ee879ff8ac1b80cd9a963015344f5698a81f309 Adding a helper SHOW_FUNC_ENTRY() function and replacing all mysql_show_var_func declarations using SHOW_FUNC to SHOW_FUNC_ENTRY, to catch mysql_show_var_func in the future at compilation time.
* | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-11-028-0/+53
|\ \ \ \ \ | |/ / / /
* | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-10-291-2/+3
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.5 into 10.6Marko Mäkelä2022-10-251-2/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | To prevent ASAN heap-use-after-poison in the MDEV-16549 part of ./mtr --repeat=6 main.derived the initialization of Name_resolution_context was cleaned up.
| | * | | Merge 10.4 into 10.5Marko Mäkelä2022-10-251-2/+3
| | |\ \ \ | | | |/ /
| | | * | Merge 10.3 into 10.4Marko Mäkelä2022-10-251-2/+3
| | | |\ \ | | | | |/
| | | | * Cleanup the alloca.h header handling to further reduce hardcoded OS lists ↵Brad Smith2022-10-161-2/+3
| | | | | | | | | | | | | | | | | | | | (#2289)
* | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-08-0818-17/+44
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.5' into bb-10.6-releaseOleksandr Byelkin2022-08-0318-17/+44
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'merge-perfschema-5.7' into 10.5Oleksandr Byelkin2022-08-0218-17/+44
| | |\ \ \
| | | * | | mysql-5.7.39Oleksandr Byelkin2022-07-2919-18/+45
| | | | | |
| | * | | | MDEV-25785 Add support for OpenSSL 3.0Vladislav Vaintroub2022-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes - MD_CTX_SIZE is increased - EVP_CIPHER_CTX_buf_noconst(ctx) does not work anymore, points to nobody knows where. The assumption made previously was that (since the function does not seem to be documented) was that it points to the last partial source block. Add own partial block buffer for NOPAD encryption instead - SECLEVEL in CipherString in openssl.cnf had been downgraded to 0, from 1, to make TLSv1.0 and TLSv1.1 possible (according to https://github.com/openssl/openssl/blob/openssl-3.0.0/NEWS.md even though the manual for SSL_CTX_get_security_level claims that it should not be necessary) - Workaround Ssl_cipher_list issue, it now returns TLSv1.3 ciphers, in addition to what was set in --ssl-cipher - ctx_buf buffer now must be aligned to 16 bytes with openssl( previously with WolfSSL only), ot crashes will happen - updated aes-t , to be better debuggable using function, rather than a huge multiline macro added test that does "nopad" encryption piece-wise, to test replacement of EVP_CIPHER_CTX_buf_noconst part of MDEV-29000
* | | | | | Merge 10.6 into 10.7Marko Mäkelä2022-05-241-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | MDEV-25785 Add support for OpenSSL 3.0Vladislav Vaintroub2022-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes - MD_CTX_SIZE is increased - EVP_CIPHER_CTX_buf_noconst(ctx) does not work anymore, points to nobody knows where. The assumption made previously was that (since the function does not seem to be documented) was that it points to the last partial source block. Add own partial block buffer for NOPAD encryption instead - SECLEVEL in CipherString in openssl.cnf had been downgraded to 0, from 1, to make TLSv1.0 and TLSv1.1 possible (according to https://github.com/openssl/openssl/blob/openssl-3.0.0/NEWS.md even though the manual for SSL_CTX_get_security_level claims that it should not be necessary) - Workaround Ssl_cipher_list issue, it now returns TLSv1.3 ciphers, in addition to what was set in --ssl-cipher - ctx_buf buffer now must be aligned to 16 bytes with openssl( previously with WolfSSL only), ot crashes will happen - updated aes-t , to be better debuggable using function, rather than a huge multiline macro added test that does "nopad" encryption piece-wise, to test replacement of EVP_CIPHER_CTX_buf_noconst part of MDEV-28133
* | | | | | Fix clang -Wtypedef-redefinitionMarko Mäkelä2022-03-114-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Fixup for commit 77c184df7c056da7364e606ac977cc2d3cd826ad
* | | | | | Merge 10.6 into 10.7Marko Mäkelä2022-02-221-1/+3
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.5 into 10.6Marko Mäkelä2022-02-221-1/+3
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge 10.4 into 10.5Vlad Lesin2022-02-221-1/+3
| | |\ \ \ \ | | | | |/ / | | | |/| |
| | | * | | Merge 10.3 into 10.4Vlad Lesin2022-02-211-1/+3
| | | |\ \ \ | | | | | |/ | | | | |/|
| | | | * | MDEV-27730 Add PLUGIN_VAR_DEPRECATED flag to plugin variablesNayuta Yanagisawa2022-02-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sys_var class has the deprecation_substitute member to mark the deprecated variables. As it's set, the server produces warnings when these variables are used. However, the plugin has no means to utilize that functionality. So, the PLUGIN_VAR_DEPRECATED flag is introduced to set the deprecation_substitute with the empty string. A non-empty string can make the warning more informative, but there's no nice way seen to specify it, and not that needed at the moment.
* | | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-02-0419-20/+21
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch '10.5' into 10.6Oleksandr Byelkin2022-02-0319-20/+21
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge branch '10.4' into 10.5Oleksandr Byelkin2022-02-011-1/+2
| | |\ \ \ \ | | | |/ / /
| | | * | | MDEV-27341 Use SET PASSWORD to change PAM serviceSergei Golubchik2022-01-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | Merge branch 'merge-perfschema-5.7' into 10.5Oleksandr Byelkin2022-01-2818-19/+19
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | | * | | 5.7.34Sergei Golubchik2021-05-0318-19/+19
| | | | | |
| | | * | | 5.7.28Sergei Golubchik2019-12-1119-64/+246
| | | | | |
| | | * | | 5.7.13Sergei Golubchik2016-07-2820-387/+2459
| | | | | |
* | | | | | Merge 10.6 into 10.7Marko Mäkelä2022-01-041-0/+4
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.5 into 10.6Marko Mäkelä2022-01-041-0/+4
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge branch 10.4 into 10.5st-10.5-juliusJulius Goryavsky2021-12-261-0/+4
| | |\ \ \ \ | | | | |/ / | | | |/| |
| | | * | | MDEV-26803 PA unsafety with FK cascade delete operationsjaakola2021-12-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit has a mtr test where two two transactions delete a row from two separate tables, which will cascade a FK delete for the same row in a third table. Second replica node is configured with 2 applier threads, and the test will fail if these two transactions are applied in parallel. The actual fix, in this commit, is to mark a transaction as unsafe for parallel applying when it traverses into cascade delete operation. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
* | | | | | Pre requiste MDEV-9245: add host to validate password interfaceOleksandr Byelkin2021-10-192-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hostname added to the interface. Cracklib plugin fixed according to the new interface.
* | | | | | MDEV-19275 SQL service for plugins.Alexey Botchkov2021-10-198-49/+24
| | | | | | | | | | | | | | | | | | | | | | | | host/user/db arguments of the mysql_real_connect_local() are removed.