Bug #67049 | MySQL server allows min>max, causing hard-to-diagnosis misbehavior | ||
---|---|---|---|
Submitted: | 2 Oct 2012 7:48 | Modified: | 3 Oct 2012 15:13 |
Reporter: | Tianyin Xu | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S3 (Non-critical) |
Version: | 5.5.29 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | ft_max_word_len, ft_min_word_len, min-max |
[2 Oct 2012 7:48]
Tianyin Xu
[3 Oct 2012 13:57]
MySQL Verification Team
Thank you for the bug report. d:\dbs>d:\dbs\5.5\bin\mysql -uroot --port=3541 --prompt="mysql 5.5 >" Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.5.29 Source distribution Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql 5.5 >SHOW VARIABLES LIKE "ft_%"; +--------------------------+----------------+ | Variable_name | Value | +--------------------------+----------------+ | ft_boolean_syntax | + -><()~*:""&| | | ft_max_word_len | 10 | | ft_min_word_len | 20 | | ft_query_expansion_limit | 20 | | ft_stopword_file | (built-in) | +--------------------------+----------------+ 5 rows in set (0.00 sec)
[3 Oct 2012 15:13]
Tianyin Xu
Thanks a lot, Miguel! Yes, we should have print out the ft_% variables and noticed the misconfiguration. But the silent reaction prevents us from suspecting it's because such stupid mistakes :-(