mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
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
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user