r9239: avoid multiple query-expression evaluation
r9239: avoid multiple query-expression evaluation

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