Re: weird behavior of mysql 4.0.16 for pc linux

2004-03-31 Thread Egor Egorov
Ginger Cheng <[EMAIL PROTECTED]> wrote: >I am just wondering if anyone has seen this before querying an innoDB table: > > select count(*) from Table where field1=3; > returned 782 rows > > select count(*) from Table where field1=3 and field2 is not null; > returned 666 rows > > Here come

weird behavior of mysql 4.0.16 for pc linux

2004-03-31 Thread Ginger Cheng
Hello, MySQL Gurus, I am just wondering if anyone has seen this before querying an innoDB table: select count(*) from Table where field1=3; returned 782 rows select count(*) from Table where field1=3 and field2 is not null; returned 666 rows Here comes the shocking part: select coun