Fossil SCM

Improved comment on the db_obscure() routine. No functional code changes.

drh 2022-12-30 21:12 trunk
Commit aa1a0b31e200a7feb18b5ead30fbfc7a0628f5507e95571abf8a9833217e21cb
1 file changed +6
+6
--- src/db.c
+++ src/db.c
@@ -1381,10 +1381,16 @@
13811381
** you don't need to use 'fossil sql' for that anyway. Just call
13821382
**
13831383
** fossil user pass monkey123
13841384
**
13851385
** to change the local user entry's password in the same way.
1386
+**
1387
+** 2022-12-30: If the user-data pointer is not NULL, then operate
1388
+** as unobscure() rather than obscure(). The obscure() variant of
1389
+** this routine is commonly available. But unobscure is (currently)
1390
+** only registered by the "fossil remote config-data --show-passwords"
1391
+** command.
13861392
*/
13871393
void db_obscure(
13881394
sqlite3_context *context,
13891395
int argc,
13901396
sqlite3_value **argv
13911397
--- src/db.c
+++ src/db.c
@@ -1381,10 +1381,16 @@
1381 ** you don't need to use 'fossil sql' for that anyway. Just call
1382 **
1383 ** fossil user pass monkey123
1384 **
1385 ** to change the local user entry's password in the same way.
 
 
 
 
 
 
1386 */
1387 void db_obscure(
1388 sqlite3_context *context,
1389 int argc,
1390 sqlite3_value **argv
1391
--- src/db.c
+++ src/db.c
@@ -1381,10 +1381,16 @@
1381 ** you don't need to use 'fossil sql' for that anyway. Just call
1382 **
1383 ** fossil user pass monkey123
1384 **
1385 ** to change the local user entry's password in the same way.
1386 **
1387 ** 2022-12-30: If the user-data pointer is not NULL, then operate
1388 ** as unobscure() rather than obscure(). The obscure() variant of
1389 ** this routine is commonly available. But unobscure is (currently)
1390 ** only registered by the "fossil remote config-data --show-passwords"
1391 ** command.
1392 */
1393 void db_obscure(
1394 sqlite3_context *context,
1395 int argc,
1396 sqlite3_value **argv
1397

Keyboard Shortcuts

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