maria:bb-10.7-mdev-27159-hf

Last commit made on 2022-02-10
Get this branch:
git clone -b bb-10.7-mdev-27159-hf https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.7-mdev-27159-hf
Repository:
lp:maria

Recent commits

e4b2831... by Alexey Botchkov

ha_partition::open_part2() implemented.

a6925e6... by Alexey Botchkov

open_tables_part2 function call added to the open_and_lock_tables.

d5167be... by Alexey Botchkov

cmake/pcre.cmake fixed so the server compilation doesn't fail.

f32ac2c... by Alexey Botchkov

MDEV-27159 Re-design the upper level of handling DML commands.

Partition pruning done before the lock_tables for UPDATE command.

086a212... by Igor Babaev

MDEV-27159 Re-design the upper level of handling DML commands

This is the first commit for the task. This patch allows to execute only
single-table and multi-table UPDATE statements using the method
Sql_cmd_dml::execute(). The code that handles DELETE and INSERT statements
has not been touched.

Moreover, these are not the final changes to handle UPDATE statements.
All tests from the main suite passed. With --ps-protocol one test from
opt_trace_security returns not the same result. This will be fixed soon.

593885f... by Eric Herman

MDEV-23143 Add JSON_EQUALS function

This patch implements JSON_EQUALS SQL function. The function takes
advantage of the json_normalize functionality and does the following:

norm_a = json_normalize(a)
norm_b = json_normalize(b)
return strcmp(norm_a, norm_b)

Co-authored-by: Vicențiu Ciorbaru <email address hidden>

fcde341... by Eric Herman

MDEV-16375 Function to normalize a json value

This patch implements JSON_NORMALIZE SQL function.

Co-authored-by: Vicențiu Ciorbaru <email address hidden>

105e414... by Eric Herman

Add json_normalize function to json_lib

This patch implements a library for normalizing json documents.
The algorithm is:
* Recursively sort json keys according to utf8mb4_bin collation.
* Normalize numbers to be of the form [-]<digit>.<frac>E<exponent>
* All unneeded whitespace and line endings are removed.
* Arrays are not sorted.

Co-authored-by: Vicențiu Ciorbaru <email address hidden>

7b587fc... by Eric Herman

fix json typo s/UNINITALIZED/UNINITIALIZED/

71ed8c1... by Vicențiu Ciorbaru

Test cases require debug_sync enabled