title: Does the Query time include the Lock time in mysql?
body: <p>If I see in the mysql_slow.log file this info:</p>
  
  <pre><code>Query_time: 31.112148  Lock_time: 31.111902 
  Rows_sent: 0  Rows_examined: 1 SET timestamp=1380118248;
  </code></pre>
  
  <p>Does it means that the total time wastes for that specific query it was Query_time - Lock_time = 0.000246?</p>
  
  <p>Or does the specific query wastes the Query_time and the whole process wasted Query_time + Lock_time = 62.22405?</p>