Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Correct handling of mtime updates for UV push. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
669cd4041b8933358242849adca6bb42 |
| User & Date: | drh 2017-09-08 00:10:03.408 |
Context
|
2017-09-08
| ||
| 09:05 | (cherry-pick): Correct handling of mtime updates for UV push. (cherry-pick): Moved the check for iconv(3) in -liconv up within auto.def. If it happens after the checks for OpenSSL on certain macOS configurations, autosetup can be fooled into believing it doesn't need -liconv on that platform. This checkin splits up the group of cc-check-functions c... check-in: 746668d58b user: jan.nijtmans tags: branch-2.3 | |
| 04:05 | Moved the check for iconv(3) in -liconv up within auto.def. If it happens after the checks for OpenSSL on certain macOS configurations, autosetup can be fooled into believing it doesn't need -liconv on that platform. This checkin splits up the group of cc-check-functions calls, so the moved call is now documented as to why its segregated. check-in: e6f64f5eeb user: wyoung tags: trunk | |
| 00:10 | Correct handling of mtime updates for UV push. check-in: 669cd4041b user: drh tags: trunk | |
|
2017-09-07
| ||
| 23:56 | Minor formatting changes in the UV sync logic. No logical changes to code. check-in: ac15e6d14a user: drh tags: trunk | |
Changes
Changes to src/xfer.c.
| ︙ | ︙ | |||
360 361 362 363 364 365 366 |
db_prepare(&q,
"UPDATE unversioned"
" SET rcvid=:rcvid, mtime=:mtime, hash=NULL,"
" sz=0, encoding=0, content=NULL"
" WHERE name=:name"
);
db_bind_int(&q, ":rcvid", g.rcvid);
| | | 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 |
db_prepare(&q,
"UPDATE unversioned"
" SET rcvid=:rcvid, mtime=:mtime, hash=NULL,"
" sz=0, encoding=0, content=NULL"
" WHERE name=:name"
);
db_bind_int(&q, ":rcvid", g.rcvid);
}else if( iStatus==2 ){
db_prepare(&q, "UPDATE unversioned SET mtime=:mtime WHERE name=:name");
}else{
db_prepare(&q,
"REPLACE INTO unversioned(name,rcvid,mtime,hash,sz,encoding,content)"
" VALUES(:name,:rcvid,:mtime,:hash,:sz,:encoding,:content)"
);
db_bind_int(&q, ":rcvid", g.rcvid);
|
| ︙ | ︙ |