title: SQLYog automatically appending LIMIT 0, 1000 to all queries
body: <p>SQLyog automatically appending LIMIT 0, 1000 to all queries in a database which is causing the below query (<code>select next_hi from hibernate_unique_key for update</code>) to fail.</p>
  
  <pre><code>Query : select next_hi from hibernate_unique_key for update  **LIMIT 0, 1000**
  Error Code : 1064
  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 'LIMIT 0, 1000' at line 2
  </code></pre>
  
  <p>The same is not happening in other database. Where to check and solve this problem?</p>
  
  <p><strong>UPDATE</strong>: It seems SQLyog is appending the LIMIT clause, no problem from hibernate or command prompt.
  But it is happening in only one database not happening in the other database.</p>