Hello.
I found that the -Au option of the sqlar archive mode always updates files
in archive.

Currently the command
./sqlite3.exe ./testdb.db -AvuC d:/Go GOPATH
takes too much time trying to update every file in archive db, even if they
are uptodate.
With this proposal updating sqlar archive with many files now takes much
less time.

Here I include patch file with the changes: fossil diff --from trunk .\src\
shell.c.in > patch-updateOnlyNewer.patch
(see patch file patch-updateOnlyNewer.patch)

PS F:\Zavla_VB\sqlite_fossil\sqlite> fossil status
repository:   F:/Zavla_VB/sqlite_fossil/sqlite/..\sqlite.fossil
local-root:   F:/Zavla_VB/sqlite_fossil/sqlite/
config-db:    C:/Users/z.malinovskiy/AppData/Local/_fossil
checkout:     cc0c9b70f9be78ac6c27e7f340501115cb61ad8e 2019-03-20 15:00:28
UTC
parent:       c08281b190a8af5d8d06238de9df514a8faa9b7b 2019-03-20 14:40:48
UTC
tags:         archive-updateOnlyNewerFiles
comment:      archive: -Au now updates only newer files (user:
z.malinovskiy)

PS F:\Zavla_VB\sqlite_fossil\sqlite\.libs> .\sqlite3.exe --version

3.28.0 2019-03-20 15:00:28
cc0c9b70f9be78ac6c27e7f340501115cb61ad8ea4245c3d1021f40d9d670779

I compile (run make sqlite3.exe) with gcc under mingw64

$ gcc --version
gcc.exe (Rev2, Built by MSYS2 project) 6.3.0
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to