Navigation Menu

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

normalize:fix a crash bug when object is not normalizer #174

Merged
merged 1 commit into from Jun 5, 2014
Merged

normalize:fix a crash bug when object is not normalizer #174

merged 1 commit into from Jun 5, 2014

Conversation

naoa
Copy link
Member

@naoa naoa commented Jun 5, 2014

I fixed the yoku0825 reports bug.

refs [groonga-dev,02409]

I didn't create the test because of the error case.

The following is the error test.

> normalize TokenBigram "aBc"
[[-22,1401957669.16034,0.000719547271728516,"unknown normalizer: <TokenBigram>",[["proc_normalize","proc.c",3015]]],""
> normalize LongText "aBc"
[[-22,1401957690.85734,0.000305891036987305,"unknown normalizer: <LongText>",[["proc_normalize","proc.c",3015]]],""]
> normalize select "aBc"
[[-22,1401957710.69732,0.000345706939697266,"unknown normalizer: <select>",[["proc_normalize","proc.c",3015]]],""]

> normalize NormalizerAuto "aBc"
[[0,1401957736.58533,9.25064086914062e-05],{"normalized":"abc","types":[],"checks":[]}]

kou added a commit that referenced this pull request Jun 5, 2014
normalize:fix a crash bug when object is not normalizer

[groonga-dev,02409]

Reported by yoku0825. Thanks!!!
Patch by Naoya Murakami. Thanks!!!
@kou kou merged commit 1a2b3a4 into groonga:master Jun 5, 2014
@kou
Copy link
Member

kou commented Jun 5, 2014

Thanks!!!

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

2 participants