fixed araqne/issue#78. fixed query hang when disk is full
Merge branch 'master' of github.com:araqne/logdb