Fossil SCM

Fix SQL syntax error in undo.

dmitry 2011-08-27 00:52 symlinks
Commit be956c3c88fd5b7225a5714443ba840f2518f10d
1 file changed +1 -1
+1 -1
--- src/undo.c
+++ src/undo.c
@@ -87,11 +87,11 @@
8787
}
8888
blob_reset(&new);
8989
free(zFullname);
9090
db_finalize(&q);
9191
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,"
9393
" redoflag=NOT redoflag"
9494
" WHERE pathname=%Q",
9595
new_exists, new_exe, new_link, zPathname
9696
);
9797
if( new_exists ){
9898
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button