You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#23023457 DEBIAN/UBUNTU PACKAGES FAIL TO INSTALL BECAUSE OF EMPTY CONFIG VALUES
Post-push fix:
The test was failing on Windows; Since the client no longer throws an error it would
go on to try to connect to the server, and on Windows the test doesn't set up a
server to listen on the default port.
Since the test only really needs to check that the client prints the warning and does
not throw an error, we change the test to run mysql --help instead of trying to
connect, passing stdout to a temporary file so only the warning is left.
# Specifying an empty port option should only give a warning in 5.7
636
+
# We only need to check that the client accepts it, not actually connect,
637
+
# so we use --help and pass stdout to a temporary file so only the warning
638
+
# is left (and connecting was failing on Windows).
635
639
--echo #
636
640
--echo # Bug #16102788: INDETERMINATE BEHAVIOR DUE TO EMPTY OPTION VALUES
641
+
--echo # Bug #23023457: DEBIAN/UBUNTU PACKAGES FAIL TO INSTALL BECAUSE OF EMPTY CONFIG VALUES
637
642
--echo #
638
643
--replace_regex /mysql: .Warning. [^ ]*: Empty value for 'port' specified. Will throw an error in future versions/mysql: [Warning] mysql: Empty value for 'port' specified. Will throw an error in future versions/
--replace_regex /mysql: .Warning. [^ ]*: Empty value for 'port' specified. Will throw an error in future versions/mysql: [Warning] mysql: Empty value for 'port' specified. Will throw an error in future versions/
0 commit comments