# HG changeset patch # User Oleksandr Gavenko # Date 1451468418 -7200 # Node ID c6be6cc87df41fc7b3d078a0bb1d3352784bee3e # Parent f572f646694bbcc1f103a0ff47b09036743b60e8 Dump execution plan for selected process. diff -r f572f646694b -r c6be6cc87df4 mysql.rst --- a/mysql.rst Wed Dec 30 11:34:19 2015 +0200 +++ b/mysql.rst Wed Dec 30 11:40:18 2015 +0200 @@ -87,6 +87,19 @@ MariaDB [mysql]> show explain for 1; +.. NOTE:: + You shoud check for code ``1003``:: + + MariaDB [mysql]> show warnings; + + to ensure for which query plan shown becase query may finished and new + started. + +See: + + * `SHOW EXPLAIN in MariaDB 10.0 vs EXPLAIN FOR CONNECTION in MySQL 5.7 + `_ + Profiling queries. ==================