diff options
author | mistachkin <mistachkin@noemail.net> | 2013-08-13 22:33:41 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2013-08-13 22:33:41 +0000 |
commit | 037933b8a75f01013fc7fb2899dc06c57eef30dc (patch) | |
tree | 76b5b991ced205238eb632832d6304c67e70a939 /src/main.c | |
parent | ab80be99e3c96e03982056e33853ec52a34222eb (diff) | |
download | sqlite-037933b8a75f01013fc7fb2899dc06c57eef30dc.tar.gz sqlite-037933b8a75f01013fc7fb2899dc06c57eef30dc.zip |
Fix an outdated comment and a comment typo. No changes to code.
FossilOrigin-Name: ac336959490083ffeaaf25aaec97ecb59a2f4536
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index 217221d23..6932bf7b9 100644 --- a/src/main.c +++ b/src/main.c @@ -448,8 +448,8 @@ int sqlite3_config(int op, ...){ memset(&sqlite3GlobalConfig.m, 0, sizeof(sqlite3GlobalConfig.m)); }else{ /* The heap pointer is not NULL, then install one of the - ** mem5.c/mem3.c methods. If neither ENABLE_MEMSYS3 nor - ** ENABLE_MEMSYS5 is defined, return an error. + ** mem5.c/mem3.c methods. The enclosing #if guarantees at + ** least one of these methods is currently enabled. */ #ifdef SQLITE_ENABLE_MEMSYS3 sqlite3GlobalConfig.m = *sqlite3MemGetMemsys3(); @@ -468,7 +468,7 @@ int sqlite3_config(int op, ...){ break; } - /* Record a pointer to the logger funcction and its first argument. + /* Record a pointer to the logger function and its first argument. ** The default is NULL. Logging is disabled if the function pointer is ** NULL. */ |