Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
10.5, 10.6, 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
Description
Code in maria_ft_boolean_check_syntax_string() uses sizeof(ft_boolean_syntax), most probably to compute its length. It made sense at the time that code was written, since ft_boolean_syntax had char[15] type. Then at some point type of ft_boolean_syntax was changed to const char *, but maria_ft_boolean_check_syntax_string() still uses sizeof(ft_boolean_syntax).
The issue is trivial, since maria_ft_boolean_check_syntax_string() function is not used anywhere.