[sqlite] Seems I found 2 errors in .ar command of sqlite3 on Windows: patch included.

2019-05-24 Thread Захар Малиновский
> Seems I found 2 errors in .ar command of sqlite3 on Windows: > First, in shell.c the code that reads lines from console as input uses > wrong codepage code CP_ACP or CP_OEMCP. > This doesn't allow to pass proper filenames to your func runOneSqlLine() , > as my Windows 10 console uses codepage

Re: [sqlite] proposal: make the archive option -Au to update only newer files. /Patch included/

2019-03-25 Thread Захар Малиновский
on timestamps. If some os does not update its files timestumps why we suffer. On Thu, 21 Mar 2019, 10:31 Захар Малиновский, wrote: > Yes, timestamps only. > Sqlar does not has a column for checksum or sha. > > Here comes the patch: > > Ind

Re: [sqlite] proposal: make the archive option -Au to update only newer files. /Patch included/

2019-03-21 Thread Захар Малиновский
+pAr->bVerbose ? "shell_putsnl(name)" : "name", +pAr->azArg[i], pAr->zDir); + +} rc = arExecSql(pAr, zSql2); sqlite3_free(zSql2); } end_ar_transaction: if( rc!=SQLITE_OK ){ On Wed, 20 Mar 2019, 18:18 Dominique Devienne,

[sqlite] proposal: make the archive option -Au to update only newer files. /Patch included/

2019-03-20 Thread Захар Малиновский
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