Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix behaviors for msgpack #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yagisumi
Copy link

--output-type msgpack を使った時に、エラーで終了しないようにしました。

  • chompでMessagePack自体のデータを削ってしまうのを修正
  • MessagePack.unpack()から出てくるエラーを捕捉。
  • query log に不要な --output_type "msgpack" が入らないように修正
  • エラーメッセージのcontentがバイナリなので、とりあえずcontent.inspectで読めるように修正

テストの書き方がよくわからないので、テストは追加してません。
Lubuntu 19 と Windows 7 で groonga 9.0.4 を使って動作確認はしました。
(windowsのgroongaは、出力をバイナリモードにする修正を加えて確認)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant