Re: [Exim] Querying two MySQL-Servers after another

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Vadim Vygonets
日付:  
To: Exim Users Mailinglist
題目: Re: [Exim] Querying two MySQL-Servers after another
Quoth Philip Hazel on Wed, Jul 05, 2000:
> On Tue, 4 Jul 2000, Florian Wallner wrote:
>
> > if a mysql lookup is successful but does not return any data because
> > the SQL statement did not match anything in the database, is it
> > possible to try the lookup again on the second server in mysq_servers
> > before failing the lookup?
>
> I'm afraid not; the mysql_servers are supposed to be clones that give
> the same answers, and unlike LDAP, you can't specify a server in the
> query.


I think it should be possible to achieve this by wrapping the
lookups in the 'if' statement. It depends on the context,
though.

Vadik.

--
Never let your schooling interfere with your education.