Fossil SCM

Fix an issue with the --legacy option to configuration pull.

drh 2011-04-27 02:05 UTC config-sync
Commit 940faaa37e0e8c1852f621aa1d9f9a57a689f1c7
1 file changed +4 -2
+4 -2
--- src/configure.c
+++ src/configure.c
@@ -284,12 +284,14 @@
284284
@ ipaddr TEXT, -- IP address for which cookie is valid
285285
@ cexpire DATETIME, -- Time when cookie expires
286286
@ info TEXT, -- contact information
287287
@ photo BLOB -- JPEG image of this user
288288
@ );
289
- @ INSERT INTO _xfer_reportfmt SELECT * FROM reportfmt;
290
- @ INSERT INTO _xfer_user SELECT * FROM user;
289
+ @ INSERT INTO _xfer_reportfmt
290
+ @ SELECT rn,owner,title,cols,sqlcode FROM reportfmt;
291
+ @ INSERT INTO _xfer_user
292
+ @ SELECT uid,login,pw,cap,cookie,ipaddr,cexpire,info,photo FROM user;
291293
;
292294
db_multi_exec(zSQL1);
293295
294296
/* When the replace flag is set, add triggers that run the first time
295297
** that new data is seen. The triggers run only once and delete all the
296298
--- src/configure.c
+++ src/configure.c
@@ -284,12 +284,14 @@
284 @ ipaddr TEXT, -- IP address for which cookie is valid
285 @ cexpire DATETIME, -- Time when cookie expires
286 @ info TEXT, -- contact information
287 @ photo BLOB -- JPEG image of this user
288 @ );
289 @ INSERT INTO _xfer_reportfmt SELECT * FROM reportfmt;
290 @ INSERT INTO _xfer_user SELECT * FROM user;
 
 
291 ;
292 db_multi_exec(zSQL1);
293
294 /* When the replace flag is set, add triggers that run the first time
295 ** that new data is seen. The triggers run only once and delete all the
296
--- src/configure.c
+++ src/configure.c
@@ -284,12 +284,14 @@
284 @ ipaddr TEXT, -- IP address for which cookie is valid
285 @ cexpire DATETIME, -- Time when cookie expires
286 @ info TEXT, -- contact information
287 @ photo BLOB -- JPEG image of this user
288 @ );
289 @ INSERT INTO _xfer_reportfmt
290 @ SELECT rn,owner,title,cols,sqlcode FROM reportfmt;
291 @ INSERT INTO _xfer_user
292 @ SELECT uid,login,pw,cap,cookie,ipaddr,cexpire,info,photo FROM user;
293 ;
294 db_multi_exec(zSQL1);
295
296 /* When the replace flag is set, add triggers that run the first time
297 ** that new data is seen. The triggers run only once and delete all the
298

Keyboard Shortcuts

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