RE: [Exim] mysql Lookup problem?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tamas TEVESZ
Date:  
À: Philip Hazel
CC: 'exim-users@exim.org'
Sujet: RE: [Exim] mysql Lookup problem?
On Thu, 23 Aug 2001, Philip Hazel wrote:

> What your message said you used was this line:
>
> select if(count(*), "1", "0) from passwd where id='$local_part@$domain'


no, that was me, mistyping the advice (or, checking whether the guy
asking did pay attention or not - as you like it :))

> have now learned that you can do things like
> select if(count(*), "1", "0") from passwd where id='$local_part@$domain'


actually i think that's mysqlism, so it never hurts to have the same
funtionality with lookups


--
[-]