Re: %d and %s in mysql queries?

2010-01-30 Thread Jeff Weinberger
On Sat, Jan 30, 2010 at 4:41 PM, Wietse Venema wrote: > Jeff Weinberger: >> I am using mysql (quite successfully in most cases) to do lookups for >> a variety of reasons in postfix. >> >> Recently, I had some issues with a domain lookup and in the testing >> tried varying my MySQL query between us

Re: %d and %s in mysql queries?

2010-01-30 Thread Wietse Venema
Jeff Weinberger: > I am using mysql (quite successfully in most cases) to do lookups for > a variety of reasons in postfix. > > Recently, I had some issues with a domain lookup and in the testing > tried varying my MySQL query between using %d and %s as the lookup > key. > > The documentation is

%d and %s in mysql queries?

2010-01-30 Thread Jeff Weinberger
I am using mysql (quite successfully in most cases) to do lookups for a variety of reasons in postfix. Recently, I had some issues with a domain lookup and in the testing tried varying my MySQL query between using %d and %s as the lookup key. The documentation is clear on this when the query is f