Patch provided by Rok Prohaskahttps://github.com/percona/PerconaFT/pull/357
http://jenkins.percona.com/view/TokuDB/job/PerconaFT-param/62/https://github.com/percona/percona-server/pull/662https://github.com/percona/percona-server/pull/663