Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Remove some obsolete code within #if 0 that was causing developer concern. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
1d64e9453fb59d2bb1b5cb0cbacaf135 |
User & Date: | drh 2009-10-26 22:08:22.000 |
Context
2009-10-26
| ||
22:32 | Remove additional obsolete code from the sqlite3_release_memory() logic. (check-in: 2eeb6ed818 user: drh tags: trunk) | |
22:08 | Remove some obsolete code within #if 0 that was causing developer concern. (check-in: 1d64e9453f user: drh tags: trunk) | |
2009-10-24
| ||
15:51 | Fix a compiler warning that occurs when building the TCL interface. (check-in: fc36034bdc user: drh tags: trunk) | |
Changes
Changes to src/malloc.c.
︙ | ︙ | |||
61 62 63 64 65 66 67 | ** Attempt to release up to n bytes of non-essential memory currently ** held by SQLite. An example of non-essential memory is memory used to ** cache database pages that are not currently in use. */ int sqlite3_release_memory(int n){ #ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT int nRet = 0; | < < < | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | ** Attempt to release up to n bytes of non-essential memory currently ** held by SQLite. An example of non-essential memory is memory used to ** cache database pages that are not currently in use. */ int sqlite3_release_memory(int n){ #ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT int nRet = 0; nRet += sqlite3PcacheReleaseMemory(n-nRet); return nRet; #else UNUSED_PARAMETER(n); return SQLITE_OK; #endif } |
︙ | ︙ |
Changes to src/vdbe.h.
︙ | ︙ | |||
201 202 203 204 205 206 207 | void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, int); void sqlite3VdbeSwap(Vdbe*,Vdbe*); VdbeOp *sqlite3VdbeTakeOpArray(Vdbe*, int*, int*); void sqlite3VdbeProgramDelete(sqlite3 *, SubProgram *, int); sqlite3_value *sqlite3VdbeGetValue(Vdbe*, int, u8); void sqlite3VdbeSetVarmask(Vdbe*, int); | < < < | 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | void sqlite3VdbeSetSql(Vdbe*, const char *z, int n, int); void sqlite3VdbeSwap(Vdbe*,Vdbe*); VdbeOp *sqlite3VdbeTakeOpArray(Vdbe*, int*, int*); void sqlite3VdbeProgramDelete(sqlite3 *, SubProgram *, int); sqlite3_value *sqlite3VdbeGetValue(Vdbe*, int, u8); void sqlite3VdbeSetVarmask(Vdbe*, int); UnpackedRecord *sqlite3VdbeRecordUnpack(KeyInfo*,int,const void*,char*,int); void sqlite3VdbeDeleteUnpackedRecord(UnpackedRecord*); int sqlite3VdbeRecordCompare(int,const void*,UnpackedRecord*); #ifndef NDEBUG void sqlite3VdbeComment(Vdbe*, const char*, ...); |
︙ | ︙ |