Differences From Artifact [56daedb7d0]:
- File src/tkt.c — part of check-in [7097562813] at 2012-10-15 15:10:40 on branch trunk — Avoid entering a ticket-change artifact that does not specify any changes. (user: drh size: 36266) [more...]
To Artifact [dc448aad23]:
- File src/tkt.c — part of check-in [f02946aa8b] at 2012-10-17 14:04:14 on branch trunk — I think I fix the previous commit, that should avoid committing a ticket manifest if it has no changes. It was ignoring the ticket appends. In the case of only appending, the user was not notified not properly redirected, and the ticket chagnes were not committed. Still, there should be some kind of warning to the user, if it ends up in such situation, I think. (user: viriketo size: 36278) [more...]
| ︙ | ︙ | |||
444 445 446 447 448 449 450 451 452 453 454 455 456 457 |
zDate = date_in_standard_format("now");
blob_appendf(&tktchng, "D %s\n", zDate);
free(zDate);
for(i=0; i<nField; i++){
if( azAppend[i] ){
blob_appendf(&tktchng, "J +%s %z\n", azField[i],
fossilize(azAppend[i], -1));
}
}
for(i=0; i<nField; i++){
const char *zValue;
int nValue;
if( azAppend[i] ) continue;
zValue = Th_Fetch(azField[i], &nValue);
| > | 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 |
zDate = date_in_standard_format("now");
blob_appendf(&tktchng, "D %s\n", zDate);
free(zDate);
for(i=0; i<nField; i++){
if( azAppend[i] ){
blob_appendf(&tktchng, "J +%s %z\n", azField[i],
fossilize(azAppend[i], -1));
++nJ;
}
}
for(i=0; i<nField; i++){
const char *zValue;
int nValue;
if( azAppend[i] ) continue;
zValue = Th_Fetch(azField[i], &nValue);
|
| ︙ | ︙ |