Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #16102788: INDETERMINATE BEHAVIOR DUE TO EMPTY OPTION VALUES
Currently mysql programs silently accept empty strings as option values, e.g. "--port=" will work the same as "--port=0" and -P "" will work the same as -P 0. This is unintuitive and can cause a lot of confusion. Fixed the options collection code to throw an error if the explicit argument to an numeric or enum option is empty string. Test case added.
- Loading branch information
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--plugin_dir=$FEDERATED_PLUGIN_DIR | ||
$FEDERATED_PLUGIN_OPT | ||
--loose-federated=ON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters