Copy blobs.

This commit is contained in:
Nuno Cruces
2024-08-01 18:31:25 +01:00
parent 6c12a8c1fa
commit a6815531e0
6 changed files with 23 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ func writefile(ctx sqlite3.Context, arg ...sqlite3.Value) {
n, err := createFileAndDir(file, mode, arg[1])
if err != nil {
if len(arg) > 2 {
ctx.ResultError(fmt.Errorf("writefile: %w", err))
ctx.ResultError(fmt.Errorf("writefile: %w", err)) // notest
}
return
}