Fossil SCM

Fix a syntax error in the SQL of the "config pull" mechanism.

drh 2018-06-25 18:17 trunk
Commit 4e699c295b70a5fed670151ddf6e5ab390afb4e18733c0417a280776fd79060f
1 file changed +1 -1
+1 -1
--- src/configure.c
+++ src/configure.c
@@ -591,11 +591,11 @@
591591
&& db_table_exists("repository","subscriber")
592592
){
593593
db_prepare(&q, "SELECT mtime, quote(semail),"
594594
" quote(suname), quote(sdigest),"
595595
" quote(sdonotcall), quote(ssub),"
596
- " quote(sctime), quote(smip),"
596
+ " quote(sctime), quote(smip)"
597597
" FROM subscriber WHERE sverified"
598598
" AND mtime>=%lld", iStart);
599599
while( db_step(&q)==SQLITE_ROW ){
600600
blob_appendf(&rec,
601601
"%lld %s suname %s sdigest %s sdonotcall %s ssub %s"
602602
--- src/configure.c
+++ src/configure.c
@@ -591,11 +591,11 @@
591 && db_table_exists("repository","subscriber")
592 ){
593 db_prepare(&q, "SELECT mtime, quote(semail),"
594 " quote(suname), quote(sdigest),"
595 " quote(sdonotcall), quote(ssub),"
596 " quote(sctime), quote(smip),"
597 " FROM subscriber WHERE sverified"
598 " AND mtime>=%lld", iStart);
599 while( db_step(&q)==SQLITE_ROW ){
600 blob_appendf(&rec,
601 "%lld %s suname %s sdigest %s sdonotcall %s ssub %s"
602
--- src/configure.c
+++ src/configure.c
@@ -591,11 +591,11 @@
591 && db_table_exists("repository","subscriber")
592 ){
593 db_prepare(&q, "SELECT mtime, quote(semail),"
594 " quote(suname), quote(sdigest),"
595 " quote(sdonotcall), quote(ssub),"
596 " quote(sctime), quote(smip)"
597 " FROM subscriber WHERE sverified"
598 " AND mtime>=%lld", iStart);
599 while( db_step(&q)==SQLITE_ROW ){
600 blob_appendf(&rec,
601 "%lld %s suname %s sdigest %s sdonotcall %s ssub %s"
602

Keyboard Shortcuts

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