summaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.8 into 10.9Marko Mäkelä2022-04-061-3/+5
|\
| * Merge 10.7 into 10.8Marko Mäkelä2022-04-061-3/+5
| |\
| | * Merge 10.6 into 10.7Marko Mäkelä2022-04-061-3/+5
| | |\
| | | * Merge 10.5 into 10.6Marko Mäkelä2022-04-061-3/+5
| | | |\
| | | | * Merge 10.4 into 10.5Marko Mäkelä2022-04-061-3/+5
| | | | |\
| | | | | * Merge 10.3 into 10.4Marko Mäkelä2022-04-061-3/+5
| | | | | |\
| | | | | | * Adding a "const" qualifier to arguments of create_func(), create_native() etcAlexander Barkov2022-04-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "const" qualifier was obviously forgotten. This change will also simpily fixing of MDEV-27744.
* | | | | | | Merge branch 10.8 into 10.9Daniel Black2022-04-064-6/+6
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | Closes #2084
| * | | | | | Merge branch 10.7 into 10.8Daniel Black2022-04-064-6/+6
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | Closes #2083
| | * | | | | MDEV-27354 Change maturity of pluginsSergei Golubchik2022-04-024-6/+6
| | | | | | |
* | | | | | | MDEV-23479: Add a THD* argument to Item_func_or_sum::fix_length_and_dec()Rucha Deodhar2022-03-303-6/+6
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Fix: Added THD *thd argument in Item_func_or_sum::fix_length_and_dec() and in fix_length_and_dec() for all derived classes of Item_func_or_sum.
* | | | | | Merge 10.7 into 10.8Marko Mäkelä2022-03-301-0/+6
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.6 into 10.7Marko Mäkelä2022-03-301-0/+6
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge 10.5 into 10.6Marko Mäkelä2022-03-291-0/+6
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge 10.4 into 10.5Marko Mäkelä2022-03-291-0/+6
| | | |\ \ \ | | | | |/ /
| | | | * | Merge 10.3 into 10.4Marko Mäkelä2022-03-291-0/+6
| | | | |\ \ | | | | | |/
| | | | | * Merge 10.2 into 10.3Marko Mäkelä2022-03-291-0/+6
| | | | | |\
| | | | | | * MDEV-28177: server_audit; Update the offset of dbName on the aarch64 platform.hongdongjian2022-03-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the aarch64 platform, MySQL 5.7.33 cannot install this version of the audit plugin, but X86_64 can run well。
* | | | | | | Merge 10.7 into 10.8Marko Mäkelä2022-03-151-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Fix clang -Wtypedef-redefinitionMarko Mäkelä2022-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include my_global.h before mysql.h so that the latter will not redefine my_socket and my_ulonglong. Fixup for commit 77c184df7c056da7364e606ac977cc2d3cd826ad
* | | | | | | Merge 10.7 into 10.8Marko Mäkelä2022-03-081-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge 10.6 into 10.7Marko Mäkelä2022-03-081-1/+1
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge 10.5 into 10.6Vlad Lesin2022-03-071-1/+1
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | MDEV-26230: mysql_upgrade fails to load type_mysql_json due to insufficientRucha Deodhar2022-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maturity level Fix: Bumped maturity of the mysql_json plugin to gamma.
* | | | | | | Merge branch '10.7' into 10.8Oleksandr Byelkin2022-02-046-18/+153
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge branch '10.6' into 10.7Oleksandr Byelkin2022-02-046-18/+153
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge branch '10.5' into 10.6Oleksandr Byelkin2022-02-037-20/+159
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | Merge branch '10.4' into 10.5Oleksandr Byelkin2022-02-011-0/+4
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Merge branch '10.3' into 10.4Oleksandr Byelkin2022-01-304-12/+16
| | | | |\ \ \ | | | | | |/ /
| | | | | * | Merge branch '10.2' into 10.3mariadb-10.3.33Oleksandr Byelkin2022-01-291-0/+4
| | | | | |\ \ | | | | | | |/
| | | | | | * Fixed compiler error in auth_pam pluginMonty2022-01-201-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Code copied from 10.6
| | | | | * | MDEV-18918 SQL mode EMPTY_STRING_IS_NULL breaks RBR upon CREATE TABLE .. SELECTAlexander Barkov2022-01-253-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing DEFAULT from INFORMATION_SCHEMA columns. DEFAULT in read-only tables is rather meaningless. Upgrade should go smoothly. Also fixes: MDEV-20254 Problems with EMPTY_STRING_IS_NULL and I_S tables
| | | * | | | MDEV-27668 Assertion `item->type_handler()->is_traditional_scalar_type() || ↵Alexander Barkov2022-01-283-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | item->type_handler() == type_handler()' failed in Field_inet6::can_optimize_keypart_ref
| | | * | | | MDEV-24487 Error after update to 10.5.8 on CentOS-8: DBD::mysql::st execute ↵Alexander Barkov2022-01-271-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| | | * | | | MDEV-18918 SQL mode EMPTY_STRING_IS_NULL breaks RBR upon CREATE TABLE .. SELECTAlexander Barkov2022-01-253-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 10.5 version of the patch. Removing DEFAULT from INFORMATION_SCHEMA columns. DEFAULT in read-only tables is rather meaningless. Upgrade should go smoothly. Also fixes: MDEV-20254 Problems with EMPTY_STRING_IS_NULL and I_S tables
| | | * | | | MDEV-27018 IF and COALESCE lose "json" propertybb-10.5-bar-MDEV-27018Alexander Barkov2022-01-212-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hybrid functions (IF, COALESCE, etc) did not preserve the JSON property from their arguments. The same problem was repeatable for single row subselects. The problem happened because the method Item::is_json_type() was inconsistently implemented across the Item hierarchy. For example, Item_hybrid_func and Item_singlerow_subselect did not override is_json_type(). Solution: - Removing Item::is_json_type() - Implementing specific JSON type handlers: Type_handler_string_json Type_handler_varchar_json Type_handler_tiny_blob_json Type_handler_blob_json Type_handler_medium_blob_json Type_handler_long_blob_json - Reusing the existing data type infrastructure to pass JSON type handlers across all item types, including classes Item_hybrid_func and Item_singlerow_subselect. Note, these two classes themselves do not need any changes! - Extending the data type infrastructure so data types can inherit their properties (e.g. aggregation rules) from their base data types. E.g. VARCHAR/JSON acts as VARCHAR, LONGTEXT/JSON acts as LONGTEXT when mixed to a non-JSON data type. This is done by: - adding virtual method Type_handler::type_handler_base() - adding a helper class Type_handler_pair - refactoring Type_handler_hybrid_field_type methods aggregate_for_result(), aggregate_for_min_max(), aggregate_for_num_op() to use Type_handler_pair. This change also fixes: MDEV-27361 Hybrid functions with JSON arguments do not send format metadata Also, adding mtr tests for JSON replication. It was not covered yet. And the current patch changes the replication code slightly.
| | * | | | | Merge 10.5 into 10.6st-10.6-mergeMarko Mäkelä2022-01-181-1/+1
| | |\ \ \ \ \ | | | |/ / / /
| | | * | | | MDEV-26230 mysql_upgrade fails to load type_mysql_json due to insufficient ↵Sergei Golubchik2022-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maturity level bump maturity to beta
* | | | | | | Merge 10.7 into 10.8st-10.8-mergeMarko Mäkelä2022-01-045-7/+7
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | bump up server's maturitySergei Golubchik2021-12-211-1/+1
| | | | | | |
| * | | | | | MDEV-27261 Change maturity of plugins for 10.7 GASergei Golubchik2021-12-214-6/+6
| | | | | | |
* | | | | | | MDEV-22256 Assertion `length == pack_length()' failed in ↵bb-10.8-bar-MDEV-22256Alexander Barkov2021-12-292-0/+54
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Field_timestamp_with_dec::sort_string Adding 10.5 specific tests only. No code change. The patches for MDEV-21580 and MDEV-22715 fixed this problem.
* | | | | | SUMMARY/DESCRIPTION for compression provider RPMsSergei Golubchik2021-12-085-0/+15
| | | | | |
* | | | | | cmake: detect lz4 version, require >= 1.6Sergei Golubchik2021-12-081-1/+1
| | | | | |
* | | | | | Merge 10.6 into 10.7Marko Mäkelä2021-11-292-0/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.5 into 10.6Marko Mäkelä2021-11-292-0/+10
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge 10.4 into 10.5Marko Mäkelä2021-11-292-0/+10
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge 10.3 into 10.4Marko Mäkelä2021-11-292-0/+10
| | | |\ \ \ | | | | |/ /
| | | | * | Merge 10.2 into 10.3Marko Mäkelä2021-11-292-0/+10
| | | | |\ \ | | | | | |/
| | | | | * MDEV-22522 RPM packages have meaningless summary/descriptionbb-10.2-MDEV-22522Alexey Bychko2021-11-232-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this patch moves cpack summury and description for optional packages to the appropriate CMakeLists.txt files