[Pdns-dev] FW: [Pdns-users] Bug in gsql backend
    Bauer, Georg 
    bauer at gws.ms
       
    Mon Dec 15 17:51:34 CET 2003
    
    
  
Hi!
Maybe this one is better sent here instead of pdns-users :-)
> In version 2.9.12 in the gsql backend the update-serial-query 
> is executed
> with doQuery instead of doCommand (GSQLBackend::setFresh, line 41 in
> pdns/backends/gsql/gsqlbackend.cc). On PostgreSQL this leads 
> to an error, as
> update statements don't return tuples and doQuery checks for a tuple
> returning sql statement, not for some action statement. Other 
> updates and
> inserts are done with doCommand, so I assume this is just a typo.
I changed the source from doQuery to doCommand and recompiled+reinstalled
and now everything works fine.
bye, Georg
    
    
More information about the Pdns-dev
mailing list