On Wed, Oct 07, 2015 at 10:30:53AM -0400, Richard Hipp wrote:
> On 10/7/15, Aki Tuomi <cmouse at cmouse.fi> wrote:
> >
> > Abusing bit more it would seem that when it's not logging, it's going thru
> > sqlite3Reprepare and doing a rerun. Wonder if this causes the logging be
> > suppressed? See http://p.ip.fi/bt6b
> >
> 
> Try the patch below to see if it makes a difference:
> 
> -- 
> D. Richard Hipp
> drh at sqlite.org

Hi!

lmost.

Oct 07 18:27:25 Query: -- rerun: SELECT 
content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE 
disabled=0 and type=:qtype and name=:qname

vs.

Oct 07 18:27:25 Query: SELECT 
content,ttl,prio,type,domain_id,disabled,name,auth FROM records WHERE 
disabled=0 and type='SOA' and name='example.com'

So. The trace now shows the unprepared statement.

Aki

Reply via email to