maria:preview-10.10-misc

Last commit made on 2022-07-23
Get this branch:
git clone -b preview-10.10-misc https://git.launchpad.net/maria

Branch merges

Branch information

Name:
preview-10.10-misc
Repository:
lp:maria

Recent commits

ee7d27d... 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().

217b44f... 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.

b708af3... by Daniel Black

MDEV-28883 Re-design the upper level of handling UPDATE and DELETE statements (postfix)

Correct -Winconsistent-missing-override(s):

Warnings were:

In file included from sql/sql_delete.cc:27:
sql/sql_delete.h:54:28: warning: 'get_dml_prelocking_strategy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  DML_prelocking_strategy *get_dml_prelocking_strategy()
                           ^
sql/sql_cmd.h:394:36: note: overridden virtual function is here
  virtual DML_prelocking_strategy *get_dml_prelocking_strategy() = 0;
                                   ^
1 warning generated.
[682/735] Building CXX object sql/CMakeFiles/sql.dir/sql_truncate.cc.o
In file included from sql/sql_truncate.cc:31:
sql/sql_delete.h:54:28: warning: 'get_dml_prelocking_strategy' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  DML_prelocking_strategy *get_dml_prelocking_strategy()
                           ^
sql/sql_cmd.h:394:36: note: overridden virtual function is here
  virtual DML_prelocking_strategy *get_dml_prelocking_strategy() = 0;
                                   ^
1 warning generated.

cededb9... by Daniel Black

MDEV-29099 Random_bytes - ER_DATA_OUT_OF_RANGE Missing capitalization

a5f44a8... by Daniel Black

MDEV-29028: Queries using RANDOM_BYTES get stored in query cache

Mark the RANDOM_BYTES function as uncacheable.

ce69af4... by Daniel Black

MDEV-29029 RANDOM_BYTES cannot be virtual column

f7d2374... by Sergei Golubchik

fixup! MDEV-28883 Re-design the upper level of handling UPDATE and DELETE statements

compilation failure (fall-through)
and ubsan failure (load of value 2779096485, which is not a valid value for type 'enum_lock_tables_state')

db2a0e7... by Sergei Golubchik

MDEV-27104 deprecate DES_ENCRYPT/DECRYPT functions

ed18f25... by Sergei Golubchik

don't use ssl for windows named pipes - it doesn't work

69b3069... by Sergei Golubchik

MDEV-27105 --ssl option set as default for mariadb CLI

but without server cert verification