Re: count(*) send a wrong value

2006-01-24 Thread Fabien SK
Le mardi 24 janvier 2006 à 19:23 +0100, Fabien SK a écrit : > Le mardi 24 janvier 2006 à 19:08 +0100, fabsk a écrit : > > Thank you a lot for your answer. The bug is there: if I drop the index > > 'tp_idx_part_solution', the result of the count is OK. > > I recreate

Re: count(*) send a wrong value

2006-01-24 Thread Fabien SK
Le mardi 24 janvier 2006 à 19:08 +0100, fabsk a écrit : > Thank you a lot for your answer. The bug is there: if I drop the index > 'tp_idx_part_solution', the result of the count is OK. > I recreated this index and the cound drop to "2" again. It doesn't happen on version 4.1.12-Max on my machine

Re: count(*) send a wrong value

2006-01-23 Thread Fabien SK
Thank you for you answer, but I read many times and I did not found something to answer my question (well, I did not know about the NULL). In my case: - there is one table - htere is no "distinct" - there is a WHERE clause, so there is no optimisation - there is no other field and no "group by" I