summaryrefslogtreecommitdiff
path: root/mysql-test/r/status.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/status.result')
-rw-r--r--mysql-test/r/status.result63
1 files changed, 62 insertions, 1 deletions
diff --git a/mysql-test/r/status.result b/mysql-test/r/status.result
index ce3acba9b8a..6782750eef6 100644
--- a/mysql-test/r/status.result
+++ b/mysql-test/r/status.result
@@ -156,25 +156,33 @@ Variable_name Value
Com_show_status 3
show status like 'hand%write%';
Variable_name Value
+Handler_tmp_write 0
Handler_write 0
show status like '%tmp%';
Variable_name Value
Created_tmp_disk_tables 0
Created_tmp_files 0
Created_tmp_tables 0
+Handler_tmp_update 0
+Handler_tmp_write 0
+Rows_tmp_read 5
show status like 'hand%write%';
Variable_name Value
+Handler_tmp_write 0
Handler_write 0
show status like '%tmp%';
Variable_name Value
Created_tmp_disk_tables 0
Created_tmp_files 0
Created_tmp_tables 0
+Handler_tmp_update 0
+Handler_tmp_write 0
+Rows_tmp_read 13
show status like 'com_show_status';
Variable_name Value
Com_show_status 8
rnd_diff tmp_table_diff
-20 8
+28 8
flush status;
show status like 'Com%function';
Variable_name Value
@@ -238,5 +246,58 @@ SELECT 9;
9
DROP PROCEDURE p1;
DROP FUNCTION f1;
+flush status;
+create table t1 (a int not null auto_increment primary key, g int, b blob);
+insert into t1 (g,b) values (1,'a'), (2, 'b'), (3, 'b'), (1, 'c');
+select * from t1;
+a g b
+1 1 a
+2 2 b
+3 3 b
+4 1 c
+select b, count(*) from t1 group by b;
+b count(*)
+a 1
+b 2
+c 1
+select g, count(*) from t1 group by g;
+g count(*)
+1 2
+2 1
+3 1
+show status like 'Row%';
+Variable_name Value
+Rows_read 12
+Rows_sent 10
+Rows_tmp_read 14
+show status like 'Handler%';
+Variable_name Value
+Handler_commit 0
+Handler_delete 0
+Handler_discover 0
+Handler_prepare 0
+Handler_read_first 0
+Handler_read_key 4
+Handler_read_last 0
+Handler_read_next 0
+Handler_read_prev 0
+Handler_read_rnd 7
+Handler_read_rnd_next 23
+Handler_rollback 0
+Handler_savepoint 0
+Handler_savepoint_rollback 0
+Handler_tmp_update 2
+Handler_tmp_write 7
+Handler_update 0
+Handler_write 4
+show status like '%tmp%';
+Variable_name Value
+Created_tmp_disk_tables 1
+Created_tmp_files 0
+Created_tmp_tables 2
+Handler_tmp_update 2
+Handler_tmp_write 7
+Rows_tmp_read 35
+drop table t1;
set @@global.concurrent_insert= @old_concurrent_insert;
SET GLOBAL log_output = @old_log_output;