title: 2013 Lost connection to MySQLserver during query
body: <p>i use this sql statement will report error:</p>
  
  <pre><code>SELECT case_option.plan_id AS plan_id,case_option.case_id AS case_id,options.option_name AS option_name,case_option.option_value as option_value,options.option_type AS option_type,options.option_or_env AS option_or_env  FROM case_option left join options on case_option.option_id = options.id where case_option.plan_id =90913 and case_option.case_id=30126
  </code></pre>
  
  <p>but use this is not report error：</p>
  
  <pre><code>SELECT case_option.plan_id AS plan_id,case_option.case_id AS case_id,options.option_name AS option_name,case_option.option_value as option_value,options.option_type AS option_type,options.option_or_env AS option_or_env  FROM case_option left join options on case_option.option_id = options.id where case_option.plan_id =90913 and case_option.case_id=30126
  </code></pre>