added more query string generation
Merge branch 'master' of github.com:araqne/logdb