Commit 6fa6f331 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi

os0file.c Change pwrite to os_file_pwrite to allow compilation if no pwrite

parent dc933ad9
jani@hynda.mysql.fi heikki@donna.mysql.fi
sasha@mysql.sashanet.com
monty@donna.mysql.fi
...@@ -763,7 +763,7 @@ try_again: ...@@ -763,7 +763,7 @@ try_again:
UT_NOT_USED(offset_high); UT_NOT_USED(offset_high);
#endif #endif
try_again: try_again:
ret = pwrite(file, buf, n, (off_t) offset); ret = os_file_pwrite(file, buf, n, (off_t) offset);
if ((ulint)ret == n) { if ((ulint)ret == n) {
return(TRUE); return(TRUE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment