Fossil SCM
Fix an issue with the --legacy option to configuration pull.
Commit
940faaa37e0e8c1852f621aa1d9f9a57a689f1c7
Parent
7b45d101dd5b087…
1 file changed
+4
-2
+4
-2
| --- src/configure.c | ||
| +++ src/configure.c | ||
| @@ -284,12 +284,14 @@ | ||
| 284 | 284 | @ ipaddr TEXT, -- IP address for which cookie is valid |
| 285 | 285 | @ cexpire DATETIME, -- Time when cookie expires |
| 286 | 286 | @ info TEXT, -- contact information |
| 287 | 287 | @ photo BLOB -- JPEG image of this user |
| 288 | 288 | @ ); |
| 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; | |
| 291 | 293 | ; |
| 292 | 294 | db_multi_exec(zSQL1); |
| 293 | 295 | |
| 294 | 296 | /* When the replace flag is set, add triggers that run the first time |
| 295 | 297 | ** that new data is seen. The triggers run only once and delete all the |
| 296 | 298 |
| --- 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 |