Percona Server with XtraDB

Incorrect implementation of os_file_set_eof_at on Windows

Reported by Vladislav Vaintroub on 2012-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.6
5.1
Medium
Laurynas Biveinis
5.5
Medium
Laurynas Biveinis
5.6
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

lp:~laurynas-biveinis/percona-server/BT-16274-bug1087202-1087218-5.1
Merged into lp:percona-server/5.1 at revision 511
Stewart Smith (community): Approve on 2013-01-08
Laurynas Biveinis: Approve on 2013-01-04
Sergei Glushchenko: Pending (g2) requested 2013-01-04

Thank you.

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

Other bug subscribers