diff options
author | dan <dan@noemail.net> | 2017-05-22 18:09:00 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2017-05-22 18:09:00 +0000 |
commit | 07d0f15e9354e668510095fd85fa83ac36dd82d2 (patch) | |
tree | 1877d313a0bed27e43f7160e8f44496187e9bf2d /tool/sqldiff.c | |
parent | 453ca043a250bdfcf5d1d6971b663d1c587e482b (diff) | |
download | sqlite-07d0f15e9354e668510095fd85fa83ac36dd82d2.tar.gz sqlite-07d0f15e9354e668510095fd85fa83ac36dd82d2.zip |
Fix incompatibilities between the "sqldiff --changeset" command and the
sessions module. Specifically, allow sessions to process changesets containing
tables with zero operations on them and have sqldiff output the expected
output for tables with multi-column primary keys.
FossilOrigin-Name: 0bb23c48064cc64134697469f3f4d2d3610b9e6c7a0dc54a3c47a00bd6c2a860
Diffstat (limited to 'tool/sqldiff.c')
-rw-r--r-- | tool/sqldiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/sqldiff.c b/tool/sqldiff.c index 67f3197bb..b31489bfd 100644 --- a/tool/sqldiff.c +++ b/tool/sqldiff.c @@ -1667,7 +1667,7 @@ static void changeset_one_table(const char *zTab, FILE *out){ putc('T', out); putsVarint(out, (sqlite3_uint64)nCol); - for(i=0; i<nCol; i++) putc(aiFlg[i]!=0, out); + for(i=0; i<nCol; i++) putc(aiFlg[i], out); fwrite(zTab, 1, strlen(zTab), out); putc(0, out); |