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

fix typelib to match defines:
#define TC_HEURISTIC_RECOVER_COMMIT   1
#define TC_HEURISTIC_RECOVER_ROLLBACK 2
This commit is contained in:
Sergei Golubchik 2016-04-16 12:39:20 +02:00
parent edf71fd1d7
commit 4f133fbf79
2 changed files with 2 additions and 2 deletions

View file

@ -1091,7 +1091,7 @@ sysdate-is-now FALSE
table-cache 400
table-definition-cache 400
table-open-cache 400
tc-heuristic-recover COMMIT
tc-heuristic-recover OFF
thread-cache-size 0
thread-stack 294912
time-format %H:%i:%s

View file

@ -279,7 +279,7 @@ const char *show_comp_option_name[]= {"YES", "NO", "DISABLED"};
static const char *tc_heuristic_recover_names[]=
{
"COMMIT", "ROLLBACK", NullS
"OFF", "COMMIT", "ROLLBACK", NullS
};
static TYPELIB tc_heuristic_recover_typelib=
{