title: MySQL WHERE equals BIGINT does not work
body: <p>I have a very-very strange situation. One and the same query works differently on different servers, but on the very same database. So, this is the query</p>
  
  <pre><code>SELECT  attr_83052_ FROM object_83038_ WHERE attr_83051_ = 2 AND attr_83052_ = 22 
  </code></pre>
  
  <p>On the <strong>first</strong> server (MySQL version 5.6.24) it returns values - I see rows with data. On the <strong>second</strong> server (MySQL version 5.6.26), it does not return anything. However, if I run this:</p>
  
  <pre><code>SELECT  attr_83052_ FROM object_83038_ WHERE attr_83051_ = 2
  </code></pre>
  
  <p>on the <strong>second</strong> server, I see a lot of rows which have in column <code>attr_83052_</code> values <code>22</code>. I clearly see it with my own eyes, that indeed there is some data that corresponds to condition <code>attr_83051_ = 2 AND attr_83052_ = 22</code>. However, even more interesting that if I run this on the second <strong>server</strong> :</p>
  
  <pre><code>SELECT  attr_83051_, attr_83052_ FROM object_83038_  
  WHERE attr_83051_ = 2 
  AND attr_83052_ IN (
      SELECT attr_83052_ FROM object_83038_ where attr_83052_ &gt; 21 AND 
      attr_83052_ &lt; 23 
  ) 
  </code></pre>
  
  <p>then it returns data. It all looks like insane behaviour of MySQL. How it all can be true??? Thanks!</p>