title: MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=10'
body: <p>I am posting this to save another dev hours of wasted time. Mysql release candidate 5.6.7-rc is junk. As as dev I usually follow as closely as possible with latest version. This caused me hours of debugging gerrit and mysql. The answer is to use a stable version. I hope this helps someone else.</p>
  
  <p>Not sure on the SO protocol for doing something like this - so just posting as a question.</p>
  
  <pre><code>mysql&gt; select VERSION();
  +--------------+
  | VERSION()    |
  +--------------+
  | 5.6.7-rc-log |
  +--------------+
  1 row in set (0.00 sec)
  
  mysql&gt; SET OPTION SQL_SELECT_LIMIT=10;
  ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=10' at line 1
  
  
  mysql&gt;  select VERSION();
  +------------+
  | VERSION()  |
  +------------+
  | 5.5.28-log |
  +------------+
  1 row in set (0.00 sec)
  
  mysql&gt; SET OPTION SQL_SELECT_LIMIT=10;
  Query OK, 0 rows affected (0.00 sec)
  </code></pre>