aboutsummaryrefslogtreecommitdiff
path: root/src/mem5.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-08-19 12:49:06 +0000
committerdrh <drh@noemail.net>2013-08-19 12:49:06 +0000
commitdb78b96111f93c7b183744c76f687ad84e14c567 (patch)
tree455cba36272a9eaede190e1c5257bd0fb7d27cf3 /src/mem5.c
parent700a7fdf833ce71ee46da1292f96e82afa2dd2f2 (diff)
parent77dfd5bb447381a23791abb35569d39046281f59 (diff)
downloadsqlite-db78b96111f93c7b183744c76f687ad84e14c567.tar.gz
sqlite-db78b96111f93c7b183744c76f687ad84e14c567.zip
Merge in all the latest updates and enhancements from trunk.
FossilOrigin-Name: 67587a3348b84424b2ab1f2df1ea923a5168e2e4
Diffstat (limited to 'src/mem5.c')
-rw-r--r--src/mem5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem5.c b/src/mem5.c
index 783cef617..5f99ebf43 100644
--- a/src/mem5.c
+++ b/src/mem5.c
@@ -130,13 +130,13 @@ static SQLITE_WSD struct Mem5Global {
} mem5;
/*
-** Access the static variable through a macro for SQLITE_OMIT_WSD
+** Access the static variable through a macro for SQLITE_OMIT_WSD.
*/
#define mem5 GLOBAL(struct Mem5Global, mem5)
/*
** Assuming mem5.zPool is divided up into an array of Mem5Link
-** structures, return a pointer to the idx-th such lik.
+** structures, return a pointer to the idx-th such link.
*/
#define MEM5LINK(idx) ((Mem5Link *)(&mem5.zPool[(idx)*mem5.szAtom]))
@@ -232,7 +232,7 @@ static int memsys5UnlinkFirst(int iLogsize){
** Return a block of memory of at least nBytes in size.
** Return NULL if unable. Return NULL if nBytes==0.
**
-** The caller guarantees that nByte positive.
+** The caller guarantees that nByte is positive.
**
** The caller has obtained a mutex prior to invoking this
** routine so there is never any chance that two or more
@@ -354,7 +354,7 @@ static void memsys5FreeUnsafe(void *pOld){
}
/*
-** Allocate nBytes of memory
+** Allocate nBytes of memory.
*/
static void *memsys5Malloc(int nBytes){
sqlite3_int64 *p = 0;