diff options
author | drh <drh@noemail.net> | 2015-11-09 12:47:04 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-11-09 12:47:04 +0000 |
commit | 7450494c502469e1814db2328fda725c2ed1ec8b (patch) | |
tree | 4f0d023128ac0f15badd8c75de6340ec8e93a0cf /tool/sqldiff.c | |
parent | f10b1f78ee6a3bc5aa9b10c2c090516ef49187b7 (diff) | |
download | sqlite-7450494c502469e1814db2328fda725c2ed1ec8b.tar.gz sqlite-7450494c502469e1814db2328fda725c2ed1ec8b.zip |
Fix incorrect WHERE clause in sqldiff, as reported on the mailing list
by Youcef Hilem.
FossilOrigin-Name: e0ed4c3e376248dfbf903e4b5845f910824fa6c6
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 944968fe0..90a53fe16 100644 --- a/tool/sqldiff.c +++ b/tool/sqldiff.c @@ -702,7 +702,7 @@ static void diff_one_table(const char *zTab, FILE *out){ for(i=0; i<nPk; i++){ fprintf(out, "%s %s=", zSep, az2[i]); printQuoted(out, sqlite3_column_value(pStmt,i)); - zSep = ","; + zSep = " AND"; } fprintf(out, ";\n"); }else{ /* Insert a row */ |