maria:bb-10.4-MDEV-15703-1

Last commit made on 2024-02-08
Get this branch:
git clone -b bb-10.4-MDEV-15703-1 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.4-MDEV-15703-1
Repository:
lp:maria

Recent commits

db76d99... by Dmitry Shulga <email address hidden>

MDEV-15703: Crash in EXECUTE IMMEDIATE 'CREATE OR REPLACE TABLE t1 (a INT DEFAULT ?)' USING DEFAULT

This patch fixes the issue with passing the DEFAULT or IGNORE values to
positional parameters for some kind of SQL statements to be executed
as prepared statements.

The main idea of the patch is to associate an actual value being passed
by the USING clause with the positional parameter represented by
the Item_param class. Such association must be performed on execution of
UPDATE statement in PS/SP mode. Other corner cases that results in
server crash is on handling CREATE TABLE when positional parameter
placed after the DEFAULT clause or CALL statement and passing either
the value DEFAULT or IGNORE as an actual value for the positional parameter.
This case is fixed by checking whether an error is set in diagnostics
area at the function pack_vcols() on return from the function pack_expression()

6174549... by Dmitry Shulga <email address hidden>

MDEV-15703: Crash in EXECUTE IMMEDIATE 'CREATE OR REPLACE TABLE t1 (a INT DEFAULT ?)' USING DEFAULT, UBSAN runtime error: member call on null pointer of type 'struct TABLE_LIST' in Item_param::save_in_field

This is the prerequisite patch to refactor the method
  Item_default_value::fix_fields.
The former implementation of this method was extracted and placed
into the standalone function make_default_field() and the method
Item_default_value::tie_field(). The motivation for this modification
is upcoming changes for core implementation of the task MDEV-15703
since these functions will be used from several places within
the source code.

8adc759... by Oleksandr "Sanja" Byelkin

Merge branch '10.4' into mariadb-10.4.33

3812e1c... by =?utf-8?b?T3R0byBLZWvDpGzDpGluZW4=?= <email address hidden>

Fix commit 179424db: No test file or result files should be executable

In commit 179424db the file lowercase_table2.result was made executable
for no known reason, most likely just a mistake. Test result files
definitely should not be executable.

All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.

05314ed... by Igor Babaev

MDEV-31305 Crash caused by query with aggregation over materialized derived

This bug was fixed by the patch for bug MDEV-30706.
Only a test case is added in this commit.

46e3a76... by Sergei Golubchik

funcs_1.innodb_views times out in --ps

e5147c8... by Sergei Golubchik

regression introduced by MDEV-14448

d1744ee... by Sergei Golubchik

MDEV-33343 spider.mdev_28739_simple fails in buildbot

test disabled, until fixed

908c9cf... by Oleksandr "Sanja" Byelkin

workaround for MDEV-33218

f4ee7c1... by Denis Protivensky <email address hidden>

MDEV-22232 Fix test after changing behavior of ALTER DROP FOREIGN KEY

Signed-off-by: Julius Goryavsky <email address hidden>