mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Make tests work with --view-protocol
This commit is contained in:
@ -981,6 +981,8 @@ ANALYZE TABLE t1_part,t2;
|
||||
EXPLAIN SELECT a, MAX(b) FROM t1_part WHERE a IN (10,100) GROUP BY a;
|
||||
EXPLAIN SELECT a, MAX(b) FROM t2 WHERE a IN (10,100) GROUP BY a;
|
||||
|
||||
# view protocol will cause changed table counters
|
||||
--disable_view_protocol
|
||||
FLUSH status;
|
||||
SELECT a, MAX(b) FROM t1_part WHERE a IN (10, 100) GROUP BY a;
|
||||
SHOW status LIKE 'handler_read%';
|
||||
@ -989,6 +991,7 @@ FLUSH status;
|
||||
SELECT a, MAX(b) FROM t2 WHERE a IN (10, 100) GROUP BY a;
|
||||
SHOW status LIKE 'handler_read%';
|
||||
|
||||
--enable_view_protocol
|
||||
insert into t2 select 100,seq from seq_1_to_100;
|
||||
EXPLAIN SELECT a, MAX(b) FROM t2 WHERE a IN (10,100) GROUP BY a;
|
||||
|
||||
|
Reference in New Issue
Block a user