fixed araqne/igloosec#16. fixed join query hang when subquery failed
Merge branch 'master' of github.com:araqne/logdb