Incorrect implementation of os_file_set_eof_at on Windows

Bug #1087218 reported by Vladislav Vaintroub on 2012-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Laurynas Biveinis
5.1
Fix Released
Medium
Laurynas Biveinis
5.5
Fix Released
Medium
Laurynas Biveinis
5.6
Invalid
Undecided
Unassigned

Bug Description

Current implementation incorrectly assumes that os_file_t is a C runtime file descriptor (i.e stemms from open() call). However os_file_t is a Windows HANDLE, and it cannot be chsize_s()'ed.

I'll attach a patch against MariaDB 5.1.66 shortly

Related branches

Thank you.

tags: added: contribution

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1286

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers