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
diff --git a/tool/sqldiff.c b/tool/sqldiff.c
index 67f3197..b31489b 100644
--- a/tool/sqldiff.c
+++ b/tool/sqldiff.c
@@ -1667,7 +1667,7 @@
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);