Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
Problem
From a given install (tarball, RPM, DEB) you only have the version information available, not the GitHash the binaries were built from.
Solution
Compile the following into the binaries
- GitHash the build was from
- Buildbot build number
This info should be available as
- system variable (e.g. VERSION_GITHASH) - Must
- from output of 'mysql -v' (but that's just the githash of mysql and not mysqld) - Should
- from output of 'mysqld --verbose --help' - Must
Rationale
Supportability. Given a random build a user may have, there is no simple mechanism to track back to the GitHash of the commit the code was built with. This is especially important for anybody with a custom build (e.g. feature testing, customer patch etc.).
Workaround
None