Commit 0b6a2890 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

update tests.

parent d220f7dc
USE mysql; USE mysql;
SELECT stem_word(); SELECT stem_word();
ERROR HY000: stem_word() requires 2 arguments (language, word) ERROR HY000: Can't initialize function 'stem_word'; stem_word() requires 2 arguments (language, word)
SELECT stem_word("dutch"); SELECT stem_word("dutch");
ERROR HY000: stem_word() requires 2 arguments (language, word) ERROR HY000: Can't initialize function 'stem_word'; stem_word() requires 2 arguments (language, word)
SELECT stem_word("dutch", "deuren"); SELECT stem_word("dutch", "deuren");
stem_word("dutch", "deuren") stem_word("dutch", "deuren")
deur deur
SELECT stem_word("dutch", "deuren boekjes;stuiter stuiteren auto's"); SELECT stem_word("dutch", "deuren boekjes;stuiter stuiteren auto's");
stem_word("dutch", "deuren boekjes;stuiter stuiteren auto's") stem_word("dutch", "deuren boekjes;stuiter stuiteren auto's")
deur boek stuiter stuiter auto deur boekjes stuiter stuiter auto'
SELECT stem_word("english", "cars#bars#opening"); SELECT stem_word("english", "cars#bars#opening");
stem_word("english", "cars#bars#opening") stem_word("english", "cars#bars#opening")
car bar open car bar open
...@@ -14,8 +14,8 @@ USE mysql; ...@@ -14,8 +14,8 @@ USE mysql;
# Tests for stem_word # Tests for stem_word
### ###
error 0; SELECT stem_word(); error 1123; SELECT stem_word();
error 0; SELECT stem_word("dutch"); error 1123; SELECT stem_word("dutch");
SELECT stem_word("dutch", "deuren"); SELECT stem_word("dutch", "deuren");
SELECT stem_word("dutch", "deuren boekjes;stuiter stuiteren auto's"); SELECT stem_word("dutch", "deuren boekjes;stuiter stuiteren auto's");
SELECT stem_word("english", "cars#bars#opening"); SELECT stem_word("english", "cars#bars#opening");
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment