Oleksandr Byelkin
f52954ef42
Merge commit '10.4' into 10.5
2023-07-20 11:54:52 +02:00
Oleksandr Byelkin
78b1831c9f
Merge branch '10.4' into 10.4.30
2023-06-07 15:08:29 +02:00
Sergei Golubchik
bed70468ea
Merge branch 'bb-10.4-release' into bb-10.5-release
2023-06-05 17:50:51 +02:00
Sergei Golubchik
0fd54c9892
Revert "MDEV-30473 : Do not allow GET_LOCK() / RELEASE_LOCK() in cluster"
...
This reverts commit 844ddb1109
.
This fixes MDEV-30967, MDEV-31325, MDEV-31388
2023-06-03 10:39:34 +02:00
Alexander Barkov
01ea779149
MDEV-31174 New class Native_functions_hash
2023-05-03 17:28:12 +04:00
Marko Mäkelä
c41c79650a
Merge 10.4 into 10.5
2023-02-10 12:02:11 +02:00
Vicențiu Ciorbaru
08c852026d
Apply clang-tidy to remove empty constructors / destructors
...
This patch is the result of running
run-clang-tidy -fix -header-filter=.* -checks='-*,modernize-use-equals-default' .
Code style changes have been done on top. The result of this change
leads to the following improvements:
1. Binary size reduction.
* For a -DBUILD_CONFIG=mysql_release build, the binary size is reduced by
~400kb.
* A raw -DCMAKE_BUILD_TYPE=Release reduces the binary size by ~1.4kb.
2. Compiler can better understand the intent of the code, thus it leads
to more optimization possibilities. Additionally it enabled detecting
unused variables that had an empty default constructor but not marked
so explicitly.
Particular change required following this patch in sql/opt_range.cc
result_keys, an unused template class Bitmap now correctly issues
unused variable warnings.
Setting Bitmap template class constructor to default allows the compiler
to identify that there are no side-effects when instantiating the class.
Previously the compiler could not issue the warning as it assumed Bitmap
class (being a template) would not be performing a NO-OP for its default
constructor. This prevented the "unused variable warning".
2023-02-09 16:09:08 +02:00
Jan Lindström
49ee18eb42
MDEV-30473 : Do not allow GET_LOCK() / RELEASE_LOCK() in cluster
...
In 10.5 If WSREP_ON=ON do not allow RELEASE_ALL_LOCKS function.
Instead print clear error message.
2023-01-27 10:40:07 +02:00
Jan Lindström
696562ce55
MDEV-30473 : Do not allow GET_LOCK() / RELEASE_LOCK() in cluster
...
If WSREP_ON=ON do not allow GET_LOCK and RELEASE_LOCK functions.
Instead print clear error message.
2023-01-27 10:34:06 +02:00
Jan Lindström
844ddb1109
MDEV-30473 : Do not allow GET_LOCK() / RELEASE_LOCK() in cluster
...
If WSREP_ON=ON do not allow GET_LOCK and RELEASE_LOCK functions.
Instead print clear error message.
2023-01-27 08:39:32 +02:00
Marko Mäkelä
73ecab3d26
Merge 10.4 into 10.5
2023-01-13 10:18:30 +02:00
Weijun-H
12618cfb28
MDEV-19160 json_pretty() alias for json_detailed()
2023-01-12 17:51:42 +00:00
Marko Mäkelä
6286a05d80
Merge 10.4 into 10.5
2022-09-26 13:34:38 +03:00
Marko Mäkelä
cacb61b6be
Merge 10.4 into 10.5
2022-04-06 10:06:39 +03:00
Marko Mäkelä
d6d66c6e90
Merge 10.3 into 10.4
2022-04-06 08:59:09 +03:00
Alexander Barkov
0ffaf19c53
Adding a "const" qualifier to arguments of create_func(), create_native() etc
...
The "const" qualifier was obviously forgotten.
This change will also simpily fixing of MDEV-27744.
2022-04-04 09:50:32 +04:00
Marko Mäkelä
15dcb8bd3e
Merge 10.4 into 10.5
2021-07-02 13:02:26 +03:00
Sergei Petrunia
eebe2090c8
Merge 10.3 -> 10.4
2021-06-30 18:41:46 +03:00
Sergei Petrunia
586870f9ef
Merge 10.2->10.3
2021-06-30 15:06:54 +03:00
xing-zhi, jiang
768c51880a
MDEV-25129 Add KEYWORDS view to the INFORMATION_SCHEMA
...
Add KEYWORDS table and SQL_FUNCTIONS table to INFORMATION_SCHEMA.
This commits needs some minor changes when propagated upwards
(e.g. func_array in item_create.cc has a termination element that
doesn't exist in later versions of MariaDB)
2021-06-29 16:15:24 +03:00
Nikita Malyavin
3f55c56951
Merge branch bb-10.4-release into bb-10.5-release
2021-05-05 23:57:11 +03:00
Nikita Malyavin
509e4990af
Merge branch bb-10.3-release into bb-10.4-release
2021-05-05 23:03:01 +03:00
Aleksey Midenkov
23e090626a
MDEV-20842 Crash using versioning plugin functions after plugin was removed from server
...
Remove plugin functions via item_create_remove() at deinit time.
2021-04-27 09:08:44 +03:00
Marko Mäkelä
5eae8c2742
Merge 10.4 into 10.5
2021-03-31 11:05:21 +03:00
Marko Mäkelä
50de71b026
Merge 10.3 into 10.4
2021-03-31 09:47:14 +03:00
Marko Mäkelä
d6d3d9ae2f
Merge 10.2 into 10.3
2021-03-31 08:01:03 +03:00
Anel Husakovic
6769d1a078
MDEV-13467: Feature request: Support for ST_Distance_Sphere()
...
- Cherry-pick 51e48b9f89
- vscode gitignore
- Thanks Robin Dupret for the review.
Reviewed by:daniel@mariadb.org
holyfoot@mariadb.com
2021-03-27 10:42:39 +01:00
Marko Mäkelä
50a11f396a
Merge 10.4 into 10.5
2020-08-01 14:42:51 +03:00
Marko Mäkelä
9216114ce7
Merge 10.3 into 10.4
2020-07-31 18:09:08 +03:00
Marko Mäkelä
66ec3a770f
Merge 10.2 into 10.3
2020-07-31 13:51:28 +03:00
Nikita Malyavin
fd0abc890f
MDEV-18042 Server crashes upon adding a non-null date column under NO_ZERO_DATE with ALGORITHM=INPLACE
...
accept table_name and db_name instead of table_share in make_truncated_value_warning
2020-07-31 17:38:41 +10:00
Sergei Golubchik
c1c5222cae
cleanup: PSI key is *always* the first argument
2020-03-10 19:24:23 +01:00
Sergei Golubchik
7c58e97bf6
perfschema memory related instrumentation changes
2020-03-10 19:24:22 +01:00
Oleksandr Byelkin
50c0939166
MDEV-20632: Recursive CTE cycle detection using CYCLE clause (nonstandard)
...
Added CYCLE ... RESTRICT (nonstandard) clause to recursive CTE.
2020-03-10 07:20:49 +01:00
Daniel-Solo
127fee998f
MDEV-10569: Add RELEASE_ALL_LOCKS function. Implementing the SQL
...
function to release all named locks
2020-02-27 14:37:19 +04:00
Alexander Barkov
9c96061525
Part2: MDEV-20837 Add MariaDB_FUNCTION_PLUGIN
...
Removing MariaDB_FUNCTION_COLLECTION_PLUGIN
2019-10-16 21:47:41 +04:00
Alexander Barkov
5a052ab6b1
Part1: MDEV-20837 Add MariaDB_FUNCTION_PLUGIN
...
- Defining MariaDB_FUNCTION_PLUGIN
- Changing the code in /plugins/type_inet/ and /plugins/type_test/
to use MariaDB_FUNCTION_PLUGIN instead of MariaDB_FUNCTION_COLLECTION_PLUGIN.
- Changing maturity for the INET6 data type plugin from experimental to alpha.
2019-10-16 21:40:30 +04:00
Alexander Barkov
6afb2a37fd
MDEV-20768 Turn INET functions into a function collection plugin
2019-10-07 23:17:21 +04:00
Alexander Barkov
cbf6beba40
MDEV-20764 Add MariaDB_FUNCTION_COLLECTION_PLUGIN
2019-10-07 11:31:32 +04:00
Alexander Barkov
aca5532113
A cleanup MDEV-19994 Add class Function_collection
(buildbot warnings)
...
plugin/versioning adds its own native functions by calling
item_create_append(). So GIS functions initialized two times.
Moving the initialization of GIS functions from item_create_append()
to item_create_init().
2019-07-10 05:14:02 +04:00
Alexander Barkov
feb2695ed3
MDEV-20004 Move Field_geom from field.cc to sql_type_geom.cc
2019-07-09 19:47:57 +04:00
Alexander Barkov
4dc85973b4
MDEV-19994 Add class Function_collection
2019-07-09 16:18:54 +04:00
Alexander Barkov
9f23f8e598
MDEV-19599 Change db_name, table_name to LEX_CSTRING in Item_ident and Send_field
2019-05-26 09:49:13 +04:00
Alexander Barkov
c83018751c
MDEV-19566 Remove Item::name related strlen() calls in constructors of some Item_string descendands
2019-05-23 14:58:03 +04:00
Oleksandr Byelkin
c07325f932
Merge branch '10.3' into 10.4
2019-05-19 20:55:37 +02:00
Sergei Golubchik
c1fd027115
Merge branch '10.2' into 10.3
2019-05-17 17:23:01 +02:00
Alexey Botchkov
cd16d6d518
MDEV-13992 Implement JSON_MERGE_PATCH.
...
JSON_MERGE_PATCH implemented. Added JSON_MERGE_PRESERVE as a synonim for
the JSON_MERGE.
2019-05-17 11:53:58 +04:00
Marko Mäkelä
be85d3e61b
Merge 10.2 into 10.3
2019-05-14 17:18:46 +03:00
Marko Mäkelä
26a14ee130
Merge 10.1 into 10.2
2019-05-13 17:54:04 +03:00
Vicențiu Ciorbaru
cb248f8806
Merge branch '5.5' into 10.1
2019-05-11 22:19:05 +03:00