Skip to Content.
Sympa Menu

devel - SQL bug

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Hadmut Danisch <address@concealed>
  • To: address@concealed
  • Subject: SQL bug
  • Date: Mon, 9 Oct 2000 15:42:07 +0200

Hi,

I just found a SQL bug in sympa 2.6.1 (and also seems to be
in sympa 2.7.3):

To calculate the bounce rate is calls an SQL expression:

select count(*) from subscriber_table where (list_subscriber="news"
AND bounce_subscriber != 'NULL');


which gives a wrong result with the current version of mysql, since
comparing a NULL value with the != operator is always true.

It must be

... bounce_subscriber is not NULL


regards
Hadmut




Archive powered by MHonArc 2.6.19+.

Top of Page