Commit 846277d8 authored by unknown's avatar unknown

null_key.result, null_key.test:

  Modified test case for bug #12144.


mysql-test/t/null_key.test:
  Modified test case for bug #12144.
mysql-test/r/null_key.result:
  Modified test case for bug #12144.
parent 2f47bc19
...@@ -412,6 +412,9 @@ a a b b ...@@ -412,6 +412,9 @@ a a b b
2 NULL NULL NULL 2 NULL NULL NULL
3 3 1 NULL 3 3 1 NULL
4 NULL NULL NULL 4 NULL NULL NULL
SELECT FOUND_ROWS();
FOUND_ROWS()
4
SHOW STATUS LIKE "handler_read%"; SHOW STATUS LIKE "handler_read%";
Variable_name Value Variable_name Value
Handler_read_first 0 Handler_read_first 0
...@@ -420,7 +423,4 @@ Handler_read_next 2 ...@@ -420,7 +423,4 @@ Handler_read_next 2
Handler_read_prev 0 Handler_read_prev 0
Handler_read_rnd 0 Handler_read_rnd 0
Handler_read_rnd_next 5 Handler_read_rnd_next 5
SELECT FOUND_ROWS();
FOUND_ROWS()
4
DROP TABLE t1,t2,t3,t4; DROP TABLE t1,t2,t3,t4;
...@@ -233,8 +233,8 @@ EXPLAIN SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a ...@@ -233,8 +233,8 @@ EXPLAIN SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a
FLUSH STATUS ; FLUSH STATUS ;
SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a
LEFT JOIN t3 ON t2.b=t3.b; LEFT JOIN t3 ON t2.b=t3.b;
SHOW STATUS LIKE "handler_read%";
SELECT FOUND_ROWS(); SELECT FOUND_ROWS();
SHOW STATUS LIKE "handler_read%";
DROP TABLE t1,t2,t3,t4; DROP TABLE t1,t2,t3,t4;
# End of 4.1 tests # End of 4.1 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment