r9338: fix database-query calls
r9338: fix database-query calls

intronic/clsql,sshirokov/CLSQL,intronic/clsql,sshirokov/CLSQL,intronic/clsql,ryszard/clsql,ryszard/clsql,ryszard/clsql,intronic/clsql,sshirokov/CLSQL,ryszard/clsql,sshirokov/CLSQL