mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
DROP TABLE IF EXISTS t1;
|
||||
select variable_value from information_schema.global_status where variable_name="handler_read_key" into @global_read_key;
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
@ -237,3 +236,15 @@ select @@in_transaction;
|
||||
0
|
||||
drop table t1;
|
||||
set @@global.general_log=@save_general_log;
|
||||
#
|
||||
# MDEV-25242 Server crashes in check_grant upon invoking function with userstat enabled
|
||||
#
|
||||
create function f() returns int return (select 1 from performance_schema.threads);
|
||||
set global userstat= 1;
|
||||
select f() from information_schema.table_statistics;
|
||||
ERROR 21000: Subquery returns more than 1 row
|
||||
set global userstat= 0;
|
||||
drop function f;
|
||||
#
|
||||
# End of 10.2 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user