Bug #91323 SQL layer must check/set server version number in DD tablespace
Submitted: 20 Jun 2018 7:18 Modified: 6 Nov 2018 18:37
Reporter: Sivert Sørumgård Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Data Dictionary Severity:S3 (Non-critical)
Version:8.0.11 OS:Any
Assigned to: CPU Architecture:Any

[20 Jun 2018 7:18] Sivert Sørumgård
Description:
The MySQL server version number is stored in the DD tablespace upon server initialization. When upgrading to a newer version, the version number must be updated upon successful completion of the upgrade.

How to repeat:
Initialize 8.0.11. Restart with 8.0.12 to complete upgrade, restart again with 8.0.12. Inspect the version number df.server_version in fil_ibd_open() for tablespace 'mysql'.

Suggested fix:
Add handlerton functions for set/get access. Update the version number upon successful completion of upgrade.
[6 Nov 2018 18:37] Daniel Price
Posted by developer:
 
Fixed as of the upcoming 8.0.14  release, and here's the changelog entry:

Internal functions were added to support updating the server version
number upon the successful completion of a server upgrade.
[10 May 2019 5:08] Erlend Dahl
Bug#93147 Upgrade to 8.0.13 from 8.0.11 fails

was marked as a duplicate.