maria:bb-10.3-MDEV-29231

Last commit made on 2022-12-06
Get this branch:
git clone -b bb-10.3-MDEV-29231 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.3-MDEV-29231
Repository:
lp:maria

Recent commits

6ff49e4... by Oleksandr "Sanja" Byelkin

MDEV-26161: fix of view protocol

92ff948... by Oleksandr "Sanja" Byelkin

MDEV-29231 View returns wrong value with SQL_MODE 'NO_BACKSLASH_ESCAPES'

1. make view printing sql_mode independent
  1.1. Print always current escape character
  1.2. Allow escape character usage independent of sql_mode
2. Add workaround for parsing "like 3 in (0,1) escape 3" problem
 (alwaysuse parances in case of printing ESCAPE)

180b2bc... by Sergei Golubchik

dgcov: also remove rpm dependency on IO::Uncompress::Gunzip

and enable option bundling

7baf24a... by Sergei Golubchik

MDEV-26102 followup

* update README
* fix version regex to support versions with two digits
* die if the version cannot be parsed
* support gcc versions 11+
* require JSON::PP not use, to avoid introducing new rpm dependency
  into MariaDB-test

43173ef... by Anel Husakovic <email address hidden>

MDEV-26102 dgcov: add support for *.gcda.gcov.json.gz files of gcov 9.1+

- Script covers situation for gcov (gcc) < 9 with non-json format of
generated files as well as for gcov (gcc) >=8 with json generated format

Reviewed by: <email address hidden>

1547e55... by Sergei Golubchik

fix more sporadic failures on main.kill

sometimes `KILL QUERY ID @id` was executed before the previous
`send SELECT SLEEP(1000)` has reached the parser. As the statement
resets the kill status before execution, the effect of the KILL
was ignored.

401ae95... by Sergei Golubchik

MDEV-30082 View definition losing brackets changes semantics of the query and causes wrong result

Item_func_not_all::print() either uses Item_func::print() or
directly invokes args[0]->print(). Thus the precedence should be
either the one of Item_func or of args[0].

Item_allany_subselect::print() prints args[0], then a comparison op,
then a subquery. That is, the precedence should be the one of
a comparison.

37bfe32... by Sergei Golubchik

try harder to reject not strictly deterministic vcols in indexes/stored

detect non-determinism in vcol of vcol, like:

create table t1 (a int, b real as (rand()), c real as (b) stored);

ae53f68... by Sergei Golubchik

MDEV-30016 Virtual columns do not support autoincrement columns

change vcol_upgrade test to use stored gcols

a6b327e... by Sergei Golubchik

cleanup: VCOL_NOT_VIRTUAL->VCOL_NEXTVAL

rename to stress that is a specific hack for Item_func_nextval
and should not be used for other items.

If a vcol uses Item_func_nextval, a corresponding table for the sequence
should be added to the prelocking list (in that sense NEXTVAL is not
simply a function, but more like a subquery), see add_internal_tables()
in DML_prelocking_strategy::handle_table(). At the moment it is only
implemented for DEFAULT, not for GENERATED ALWAYS AS, thus the
VCOL_NEXTVAL hack.