Add missing cursor_clear() call on ft_end()

But ft_end() is not called. So this doesn't change any the current behaviors.
It may be a MySQL bug...