mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@ -21,9 +21,11 @@ CREATE TEMPORARY TABLE table_list (id INT AUTO_INCREMENT, PRIMARY KEY (id)) AS
|
||||
WHERE TABLE_SCHEMA='performance_schema'
|
||||
ORDER BY TABLE_NAME;
|
||||
|
||||
--disable_cursor_protocol
|
||||
--enable_prepare_warnings
|
||||
|
||||
SELECT COUNT(*) FROM table_list INTO @table_count;
|
||||
--enable_cursor_protocol
|
||||
|
||||
let $count=`SELECT @table_count`;
|
||||
|
||||
@ -34,7 +36,9 @@ let $count=`SELECT @table_count`;
|
||||
|
||||
while ($count > 0)
|
||||
{
|
||||
--disable_cursor_protocol
|
||||
eval SELECT TABLE_NAME INTO @table_name FROM table_list WHERE id=$count;
|
||||
--enable_cursor_protocol
|
||||
let $table_name = `SELECT @table_name`;
|
||||
--error ER_ILLEGAL_HA
|
||||
eval HANDLER performance_schema.$table_name OPEN;
|
||||
|
Reference in New Issue
Block a user