diff --git a/mysql-test/r/null_key.result b/mysql-test/r/null_key.result index 516894edb88..36d3e005828 100644 --- a/mysql-test/r/null_key.result +++ b/mysql-test/r/null_key.result @@ -412,6 +412,9 @@ a a b b 2 NULL NULL NULL 3 3 1 NULL 4 NULL NULL NULL +SELECT FOUND_ROWS(); +FOUND_ROWS() +4 SHOW STATUS LIKE "handler_read%"; Variable_name Value Handler_read_first 0 @@ -420,7 +423,4 @@ Handler_read_next 2 Handler_read_prev 0 Handler_read_rnd 0 Handler_read_rnd_next 5 -SELECT FOUND_ROWS(); -FOUND_ROWS() -4 DROP TABLE t1,t2,t3,t4; diff --git a/mysql-test/t/null_key.test b/mysql-test/t/null_key.test index bd37a031745..a43916d6397 100644 --- a/mysql-test/t/null_key.test +++ b/mysql-test/t/null_key.test @@ -233,8 +233,8 @@ EXPLAIN SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a FLUSH STATUS ; SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a LEFT JOIN t3 ON t2.b=t3.b; -SHOW STATUS LIKE "handler_read%"; SELECT FOUND_ROWS(); +SHOW STATUS LIKE "handler_read%"; DROP TABLE t1,t2,t3,t4; # End of 4.1 tests