maria:bb-11.5-hints

Last commit made on 2024-05-24
Get this branch:
git clone -b bb-11.5-hints https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-11.5-hints
Repository:
lp:maria

Recent commits

733b6be... by Oleg Smirnov

WIP: Infrastructure for optimizer hints

fdbbe66... by Oleg Smirnov

MDEV-33281 Implement optimizer hints

This commit introduces a parser for optimizer hints.
Mainly it is a port from MySQL
(commit SHA a8b622b9eee3380ce66a2be45cfaee72dfb38165), WL#8016.

High level requirements:
F-1: Hints must be enclosed into /*+ */ comment.
F-2: Hints must be specified after
     SELECT|INSERT|REPLACE|UPDATE|DELETE key words.
F-3: EXPLAIN must understand hints.
F-4: System identifiers must be visible in EXPLAIN FORMAT=JSON.

38c6d35... by Oleg Smirnov

MDEV-33281 Optimizer hints

Move %union from sql_yacc.yy to sql_lex.h.
This prepares porting of the optimizer hints parser and allows
to eliminate the MYSQL_YACC-related hack

eeba940... by Sergei Golubchik

remove deprecated since 10.4

04f0504... by Sergei Golubchik

11.5 branch

9b6e267... by Daniel Bartholomew <email address hidden>

bump the VERSION

fa69b08... by Oleksandr "Sanja" Byelkin

Merge branch '11.3' into 11.4

3ae6680... by Sergei Golubchik

update 32bit rdiffs

068a681... by Yuchen Pei <email address hidden>

MDEV-33441 Do not deinit plugin variables when retry requested

After MDEV-31400, plugins are allowed to ask for retries when failing
initialisation. However, such failures also cause plugin system
variables to be deleted (plugin_variables_deinit()) before retrying
and are not re-added during retry.

We fix this by checking that if the plugin has requested a retry the
variables are not deleted. Because plugin_deinitialize() also calls
plugin_variables_deinit(), if the retry fails, the variables will
still be deleted.

Alternatives considered:

- remove the plugin_variables_deinit() from plugin_initialize() error
handling altogether. We decide to take a more conservative approach
here.

- re-add the system variables during retry. It is more complicated
than simply iterating over plugin->system_vars and call
my_hash_insert(). For example we will need to assign values to
the test_load field and extract more code from test_plugin_options(),
if that is possible.

fe07ac3... by Sergei Golubchik

MDEV-31857 fix galera.MW-284

followup for abcd23add202