maria:bb-10.10-MDEV-25704

Last commit made on 2022-07-31
Get this branch:
git clone -b bb-10.10-MDEV-25704 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.10-MDEV-25704
Repository:
lp:maria

Recent commits

b3372d6... by Sergei Golubchik

use my_random_bytes() that correctly detects error conditions

2119647... by Sergei Golubchik

remove dead code

0caa6bf... by Daniel Black

MDEV-25704 more tests

3607da3... by Sergei Golubchik

MDEV-25704 RANDOM_BYTES - post-review fixes

don't error out on values out of range, return NULL
(as in, e.g. sqrt(-1))

d7e3265... by Daniel Black

MDEV-29154 Excessive warnings upon a call to RANDOM_BYTES

Bring the 5 warnings of select random_bytes(cast('x' as unsigned)+1);
back to two. 1 for Item_func_random_bytes::fix_length_and_dec and
one from Item_func_random_bytes::val_str.

The warnings are from args[0]->val_int().

7f06f68... by Daniel Black

MDEV-29108 RANDOM_BYTES - assertion in Create_tmp_table::finalize

Setting max_length to a negative value in Item_func_random_bytes::fix_length_and_dec
underflowed resulting in debug optimizer assertion.

Also set the maximium to 1024 rather than MAX_BLOB_WIDTH because
we aren't going to return more than that.

a95268c... by Daniel Black

MDEV-29028 Queries using RANDOM_BYTES get stored in query cache

Mark the RANDOM_BYTES function as uncacheable.

8b9ac5b... by Daniel Black

MDEV-29029 RANDOM_BYTES cannot be virtual column

3c2b0ca... by Vanislavsky <email address hidden>

MDEV-25704 Add RANDOM_BYTES function

MySQL 5.6 added the RANDOM_BYTES function.
https://dev.mysql.com/doc/refman/5.6/en/encryption-functions.html#function_random-bytes

This is needed for compatibility purposes.

0fbbf2e... by Marko Mäkelä

MDEV-19801: Correct a test result

This was missed in 5ab5ff08b008417f32dd4bb15820a1a53ea3821c