bump ncruces/go-sqlite3 to v0.21.0 (#3621)

This commit is contained in:
kim 2024-12-12 19:44:53 +00:00 committed by GitHub
commit fb12bbb10b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 224 additions and 105 deletions

View file

@ -101,6 +101,9 @@ func syscallOpen(path string, mode int, perm uint32) (fd Handle, err error) {
const _FILE_FLAG_WRITE_THROUGH = 0x80000000
attrs |= _FILE_FLAG_WRITE_THROUGH
}
if mode&O_NONBLOCK != 0 {
attrs |= FILE_FLAG_OVERLAPPED
}
return CreateFile(pathp, access, sharemode, sa, createmode, attrs, 0)
}