Fossil SCM
Fix SQL syntax error in undo.
Commit
be956c3c88fd5b7225a5714443ba840f2518f10d
Parent
24c16584cc6825e…
1 file changed
+1
-1
+1
-1
| --- src/undo.c | ||
| +++ src/undo.c | ||
| @@ -87,11 +87,11 @@ | ||
| 87 | 87 | } |
| 88 | 88 | blob_reset(&new); |
| 89 | 89 | free(zFullname); |
| 90 | 90 | db_finalize(&q); |
| 91 | 91 | db_prepare(&q, |
| 92 | - "UPDATE undo SET content=:c, existsflag=%d, isExe=%d, isLink=%d" | |
| 92 | + "UPDATE undo SET content=:c, existsflag=%d, isExe=%d, isLink=%d," | |
| 93 | 93 | " redoflag=NOT redoflag" |
| 94 | 94 | " WHERE pathname=%Q", |
| 95 | 95 | new_exists, new_exe, new_link, zPathname |
| 96 | 96 | ); |
| 97 | 97 | if( new_exists ){ |
| 98 | 98 |
| --- src/undo.c | |
| +++ src/undo.c | |
| @@ -87,11 +87,11 @@ | |
| 87 | } |
| 88 | blob_reset(&new); |
| 89 | free(zFullname); |
| 90 | db_finalize(&q); |
| 91 | db_prepare(&q, |
| 92 | "UPDATE undo SET content=:c, existsflag=%d, isExe=%d, isLink=%d" |
| 93 | " redoflag=NOT redoflag" |
| 94 | " WHERE pathname=%Q", |
| 95 | new_exists, new_exe, new_link, zPathname |
| 96 | ); |
| 97 | if( new_exists ){ |
| 98 |
| --- src/undo.c | |
| +++ src/undo.c | |
| @@ -87,11 +87,11 @@ | |
| 87 | } |
| 88 | blob_reset(&new); |
| 89 | free(zFullname); |
| 90 | db_finalize(&q); |
| 91 | db_prepare(&q, |
| 92 | "UPDATE undo SET content=:c, existsflag=%d, isExe=%d, isLink=%d," |
| 93 | " redoflag=NOT redoflag" |
| 94 | " WHERE pathname=%Q", |
| 95 | new_exists, new_exe, new_link, zPathname |
| 96 | ); |
| 97 | if( new_exists ){ |
| 98 |