Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a memory leak in test_async.c. (CVS 3085) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
904ffa4dfb60e00b01db17049de2f493 |
User & Date: | drh 2006-02-13 13:23:58.000 |
Context
2006-02-13
| ||
13:30 | Fix overlapping read logic in the test_async.c demonstration. (CVS 3086) (check-in: ad25127b06 user: drh tags: trunk) | |
13:23 | Fix a memory leak in test_async.c. (CVS 3085) (check-in: 904ffa4dfb user: drh tags: trunk) | |
2006-02-11
| ||
17:34 | I give up. SUM() now throws an error on integer overflow. Those of us who think this is goofy can use TOTAL() instead. Tickets #1664, #1669, #1670, #1674. (CVS 3084) (check-in: 1c3e6002cd user: drh tags: trunk) | |
Changes
Changes to src/test_async.c.
︙ | ︙ | |||
928 929 930 931 932 933 934 935 936 937 938 939 940 941 | TRACE("UNLINK %p\n", p); if( rc==SQLITE_OK ){ if( p==async.pQueueLast ){ async.pQueueLast = 0; } async.pQueueFirst = p->pNext; } assert( holdingMutex ); /* Drop the queue mutex before continuing to the next write operation ** in order to give other threads a chance to work with the write queue. */ pthread_mutex_unlock(&async.queueMutex); if( async.ioDelay>0 ){ | > | 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 | TRACE("UNLINK %p\n", p); if( rc==SQLITE_OK ){ if( p==async.pQueueLast ){ async.pQueueLast = 0; } async.pQueueFirst = p->pNext; } sqlite3OsFree(p); assert( holdingMutex ); /* Drop the queue mutex before continuing to the next write operation ** in order to give other threads a chance to work with the write queue. */ pthread_mutex_unlock(&async.queueMutex); if( async.ioDelay>0 ){ |
︙ | ︙ |