~stewart/drizzle/update-innobase

Viewing all changes in revision 2514.

  • Committer: Stewart Smith
  • Author(s): Calvin Sun
  • Date: 2010-12-17 07:04:09 UTC
  • Revision ID: stewart@flamingspork.com-20101217070409-apj3g4yquqngy7n0
Merge Revision revid:calvin.sun@oracle.com-20101028053453-2ekjdge2edt1a425 from MySQL InnoDB

Original revid:calvin.sun@oracle.com-20101028053453-2ekjdge2edt1a425

Original Authors: Calvin Sun <calvin.sun@oracle.com>
Original commit message:
Bug#52062: Compiler warning in os0file.c on windows 64-bit
On Windows, the parameter for number of bytes passed into WriteFile()
and ReadFile() is DWORD. Casting is needed to silence the warning on
64-bit Windows.

Also, adding several asserts to ensure the variable for number of bytes
is no more than 32 bits, even on 64-bit Windows.

rb://415
Approved by: Inaam

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: