bug fix mysql: flush in import