Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Incorrect change to a comment. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | mistake |
Files: | files | file ages | folders |
SHA1: |
abbdb925162a7bd8408c98c64fb90be5 |
User & Date: | drh 2014-04-02 14:16:17.141 |
Original Comment: | Minor comment change in the sorter. |
Context
2014-04-02
| ||
14:16 | Incorrect change to a comment. (Closed-Leaf check-in: abbdb92516 user: drh tags: mistake) | |
2014-04-01
| ||
18:41 | When sorting data for a CREATE INDEX statement in single-threaded mode, assume that keys are delivered to the sorter in primary key order. Also fix various comments that had fallen out of date. (check-in: 821d1ac450 user: dan tags: threads) | |
Changes
Changes to src/vdbesort.c.
︙ | ︙ | |||
46 47 48 49 50 51 52 | ** (see SQLITE_CONFIG_WORKER_THREADS) plus one (the main thread). ** ** When a background thread is launched to perform work, SorterThread.bDone ** is set to 0 and the SorterThread.pThread variable set to point to the ** thread handle. SorterThread.bDone is set to 1 (to indicate to the main ** thread that joining SorterThread.pThread will not block) before the thread ** exits. SorterThread.pThread and bDone are always cleared after the | | > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | ** (see SQLITE_CONFIG_WORKER_THREADS) plus one (the main thread). ** ** When a background thread is launched to perform work, SorterThread.bDone ** is set to 0 and the SorterThread.pThread variable set to point to the ** thread handle. SorterThread.bDone is set to 1 (to indicate to the main ** thread that joining SorterThread.pThread will not block) before the thread ** exits. SorterThread.pThread and bDone are always cleared after the ** background thread has been joined. The bDone field is informational only. ** It is never actually used, except inside of assert() statements. ** ** One object (specifically, VdbeSorter.aThread[SorterThread.nThread-1]) ** is reserved for the foreground thread. ** ** The nature of the work performed is determined by SorterThread.eWork, ** as follows: ** |
︙ | ︙ |