/ Check-in [9e999081]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a few more minor comment typos. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9e999081a59b161a0a1f968fbc01a1db9ea43b93
User & Date: mistachkin 2013-08-14 00:20:23
Context
2013-08-15
14:27
Clarification and typo fixes in comments related to name resolution. No changes to code. check-in: f30abdf9 user: drh tags: trunk
08:06
Make it easy to attach a debugger the test fixture process prior to any tests being run. Closed-Leaf check-in: c23acba1 user: mistachkin tags: dbgTestFixture
2013-08-14
00:20
Fix a few more minor comment typos. No changes to code. check-in: 9e999081 user: mistachkin tags: trunk
2013-08-13
22:33
Fix an outdated comment and a comment typo. No changes to code. check-in: ac336959 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/mem5.c.

   126    126     ** of each block.  One byte per block.
   127    127     */
   128    128     u8 *aCtrl;
   129    129   
   130    130   } mem5;
   131    131   
   132    132   /*
   133         -** Access the static variable through a macro for SQLITE_OMIT_WSD
          133  +** Access the static variable through a macro for SQLITE_OMIT_WSD.
   134    134   */
   135    135   #define mem5 GLOBAL(struct Mem5Global, mem5)
   136    136   
   137    137   /*
   138    138   ** Assuming mem5.zPool is divided up into an array of Mem5Link
   139         -** structures, return a pointer to the idx-th such lik.
          139  +** structures, return a pointer to the idx-th such link.
   140    140   */
   141    141   #define MEM5LINK(idx) ((Mem5Link *)(&mem5.zPool[(idx)*mem5.szAtom]))
   142    142   
   143    143   /*
   144    144   ** Unlink the chunk at mem5.aPool[i] from list it is currently
   145    145   ** on.  It should be found on mem5.aiFreelist[iLogsize].
   146    146   */
................................................................................
   228    228     return iFirst;
   229    229   }
   230    230   
   231    231   /*
   232    232   ** Return a block of memory of at least nBytes in size.
   233    233   ** Return NULL if unable.  Return NULL if nBytes==0.
   234    234   **
   235         -** The caller guarantees that nByte positive.
          235  +** The caller guarantees that nByte is positive.
   236    236   **
   237    237   ** The caller has obtained a mutex prior to invoking this
   238    238   ** routine so there is never any chance that two or more
   239    239   ** threads can be in this routine at the same time.
   240    240   */
   241    241   static void *memsys5MallocUnsafe(int nByte){
   242    242     int i;           /* Index of a mem5.aPool[] slot */
................................................................................
   350    350       }
   351    351       size *= 2;
   352    352     }
   353    353     memsys5Link(iBlock, iLogsize);
   354    354   }
   355    355   
   356    356   /*
   357         -** Allocate nBytes of memory
          357  +** Allocate nBytes of memory.
   358    358   */
   359    359   static void *memsys5Malloc(int nBytes){
   360    360     sqlite3_int64 *p = 0;
   361    361     if( nBytes>0 ){
   362    362       memsys5Enter();
   363    363       p = memsys5MallocUnsafe(nBytes);
   364    364       memsys5Leave();