RE: [Exim] mysql Lookup problem?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tamas TEVESZ
Fecha:  
A: Philip Hazel
Cc: 'exim-users@exim.org'
Asunto: 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


--
[-]