[chore] update go-sqlite3 to v0.19.0 (#3406)

This commit is contained in:
kim
2024-10-08 09:15:09 +00:00
committed by GitHub
parent 1e421cb912
commit 2c3f1f4ddb
31 changed files with 274 additions and 171 deletions

View File

@ -15,7 +15,7 @@ func OpenFile(name string, flag int, perm fs.FileMode) (*os.File, error) {
if name == "" {
return nil, &os.PathError{Op: "open", Path: name, Err: ENOENT}
}
r, e := syscallOpen(name, flag, uint32(perm.Perm()))
r, e := syscallOpen(name, flag|O_CLOEXEC, uint32(perm.Perm()))
if e != nil {
return nil, &os.PathError{Op: "open", Path: name, Err: e}
}