Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | After testing in a real docker container, it turns out that "db_optional_sql()" doesn't do anything here. No idea why, but "db_multi_exec()" works fine. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
06987be586ed5b6611e0ff3e4f2456fe |
| User & Date: | jan.nijtmans 2014-10-02 13:45:07.329 |
Context
|
2014-10-02
| ||
| 17:01 | Merged in inherit-priv-mark-sub with one minor layout tweak. check-in: 54a783e39f user: stephan tags: trunk | |
| 15:26 | docker experiment: create project-code at first valid push. check-in: 98e3626c0a user: jan.nijtmans tags: docker | |
| 13:45 | After testing in a real docker container, it turns out that "db_optional_sql()" doesn't do anything here. No idea why, but "db_multi_exec()" works fine. check-in: 06987be586 user: jan.nijtmans tags: trunk | |
|
2014-09-29
| ||
| 19:59 | Correct directory detection in the MSVC makefile to permit the batch building tool to function properly. check-in: a072137b03 user: mistachkin tags: trunk | |
Changes
Changes to src/db.c.
| ︙ | ︙ | |||
1328 1329 1330 1331 1332 1333 1334 |
"INSERT INTO config(name,value,mtime)"
" VALUES('server-code', lower(hex(randomblob(20))),now());"
"INSERT INTO config(name,value,mtime)"
" VALUES('project-code', lower(hex(randomblob(20))),now());"
);
}else{
if( db_get("server-code", 0)==0 ) {
| | | | 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 |
"INSERT INTO config(name,value,mtime)"
" VALUES('server-code', lower(hex(randomblob(20))),now());"
"INSERT INTO config(name,value,mtime)"
" VALUES('project-code', lower(hex(randomblob(20))),now());"
);
}else{
if( db_get("server-code", 0)==0 ) {
db_multi_exec(
"INSERT INTO config(name,value,mtime)"
" VALUES('server-code', lower(hex(randomblob(20))),now());"
);
}
if( db_get("project-code", 0)==0 ) {
db_multi_exec(
"INSERT INTO config(name,value,mtime)"
" VALUES('project-code', lower(hex(randomblob(20))),now());"
);
}
}
}
|
| ︙ | ︙ |