fix bug in multiline query handler in logdb client