Skip to content

Commit edb6e2b

Browse files
committed
MDEV-17610 - fix result, for the case when test runs with userstat=on
1 parent 4ba20e0 commit edb6e2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/r/sp.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7644,7 +7644,7 @@ SELECT 1;
76447644
1
76457645
1
76467646
DROP PROCEDURE sp;
7647-
CREATE PROCEDURE sp() SHOW USER_STATISTICS;
7647+
CREATE PROCEDURE sp() SET STATEMENT SQL_SELECT_LIMIT=0 FOR SHOW USER_STATISTICS;
76487648
CALL sp;
76497649
User Total_connections Concurrent_connections Connected_time Busy_time Cpu_time Bytes_received Bytes_sent Binlog_bytes_written Rows_read Rows_sent Rows_deleted Rows_inserted Rows_updated Select_commands Update_commands Other_commands Commit_transactions Rollback_transactions Denied_connections Lost_connections Access_denied Empty_queries Total_ssl_connections Max_statement_time_exceeded
76507650
SELECT 1;

mysql-test/t/sp.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9078,7 +9078,7 @@ CREATE PROCEDURE sp() ALTER TABLE non_existing_table OPTIMIZE PARTITION p0;
90789078
CALL sp;
90799079
SELECT 1;
90809080
DROP PROCEDURE sp;
9081-
CREATE PROCEDURE sp() SHOW USER_STATISTICS;
9081+
CREATE PROCEDURE sp() SET STATEMENT SQL_SELECT_LIMIT=0 FOR SHOW USER_STATISTICS;
90829082
CALL sp;
90839083
SELECT 1;
90849084
DROP PROCEDURE sp;

0 commit comments

Comments
 (0)