mysql-test/suite/x/t/macros/use_of_index.macro
raw| 1 | |
| 2 | -->macro Show_use_of_index %COLL% %COND% |
| 3 | -->echo ### Show use of index for %COND% |
| 4 | -->stmtadmin disable_notices {"notice":"warnings"} |
| 5 | -->recvresult be-quiet |
| 6 | -->stmtsql explain select * from xtest.%COLL% WHERE %COND% |
| 7 | -->recvresult |
| 8 | -->stmtadmin enable_notices {"notice":"warnings"} |
| 9 | -->recvresult be-quiet |
| 10 | -->echo ############################ |
| 11 | -->endmacro |
| 12 |