diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-04-16 12:39:20 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-04-19 11:27:00 +0200 |
commit | 4f133fbf7951d0f48860cdefe79416f930615dab (patch) | |
tree | 80186aec3dbe17696d6a25bad3576d549b5658c2 /sql | |
parent | edf71fd1d7b2d93c7f550d7b2cfecaf6b048fcec (diff) | |
download | mariadb-git-4f133fbf7951d0f48860cdefe79416f930615dab.tar.gz |
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
Diffstat (limited to 'sql')
-rw-r--r-- | sql/mysqld.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 45fb49f9cd9..fb52041fbc2 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -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= { |