Re: [Exim] SQL Lookup modification request

Pàgina inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
A: Rob Butler
CC: exim-users
Assumpte: Re: [Exim] SQL Lookup modification request
Rob Butler wrote:

> Hello all,
>
> I was wondering the other day if it would be possible to use exim's SQL
> based lookups to perform inserts into a database. From looking at the code
> in Exim, I can see this is not possible because the Exim SQL lookups check
> that a result set with data is returned. If a result set and data are not
> returned the lookups fail.


....

> Comments?


This was added somewhere between exim 4.10 and exim 4.20 IIRC.
Exim will return the number of affected rows for INSERT/UPDATE/DELETE
queries.

Nico

--
#define SIGILL 6         /* blech */
         --Larry Wall in perl.c from the perl source code