1
0
forked from GitHub/gf-core

fix the compilation of sqlite3Btree.c on Windows

This commit is contained in:
krasimir
2017-03-14 11:07:14 +00:00
parent f1240ef489
commit f09507cb0f

View File

@@ -20751,7 +20751,7 @@ static int winFileControl(sqlite3_file *id, int op, void *pArg){
OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h));
return SQLITE_OK;
}
case SQLITE_LAST_ERRNO: {
case SQLITE_FCNTL_LAST_ERRNO: {
*(int*)pArg = (int)pFile->lastErrno;
OSTRACE(("FCNTL file=%p, rc=SQLITE_OK\n", pFile->h));
return SQLITE_OK;