Skip to content

Commit bca831e

Browse files
author
kevin.lewis@oracle.com
committed
Merge 15882860 from mysql-5.6
2 parents 111e8ce + 9053f92 commit bca831e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

storage/innobase/os/os0file.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -3087,9 +3087,9 @@ os_file_status(
30873087
{
30883088
#ifdef __WIN__
30893089
int ret;
3090-
struct _stat statinfo;
3090+
struct _stat64 statinfo;
30913091

3092-
ret = _stat(path, &statinfo);
3092+
ret = _stat64(path, &statinfo);
30933093
if (ret && (errno == ENOENT || errno == ENOTDIR)) {
30943094
/* file does not exist */
30953095
*exists = FALSE;
@@ -3162,9 +3162,9 @@ os_file_get_status(
31623162
int ret;
31633163

31643164
#ifdef __WIN__
3165-
struct _stat statinfo;
3165+
struct _stat64 statinfo;
31663166

3167-
ret = _stat(path, &statinfo);
3167+
ret = _stat64(path, &statinfo);
31683168

31693169
if (ret && (errno == ENOENT || errno == ENOTDIR)) {
31703170
/* file does not exist */

0 commit comments

Comments
 (0)