~maria-captains/maria/5.3

Viewing all changes in revision 2732.40.7.

  • Committer: Vladislav Vaintroub
  • Date: 2011-06-16 12:33:09 UTC
  • mto: This revision was merged to the branch mainline in revision 3083.
  • Revision ID: wlad@montyprogram.com-20110616123309-y0ezv010fnbftqmn
Accept innodb_flush_method values previously allowed on Unix only
map them to corresponding Windows CreateFile flags, 
O_DSYNC=>FILE_FLAG_WRITE_THROUGH
ALL_O_DIRECT=>FILE_FLAG_NO_BUFFERING

Ability to specify innodb_flush_method=O_DSYNC fixes MySQL Bug#31876
(InnoDB commit performance slow on Windows XP), by removing an extra FlushFileBuffers()
call overhead.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: