--tc-heuristic-recover option values off by one

Description

--tc-heuristic-recover option values are broken due to option parser enumerating them starting from 0 and the source code enumerating them starting from 1:

Percona has fixed this by adding "NONE" as first option, MySQL 5.7 by adding "OFF"

Environment

None

Assignee

Unassigned

Reporter

Hartmut Holzgraefe

Labels

Components

Fix versions

Affects versions

Priority

Major
Configure