Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a typo in a code comment. No logic changes. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
015d7b7a417057ce65cc2830f68920f0 |
| User & Date: | drh 2024-02-08 01:36:37.685 |
Context
|
2024-02-08
| ||
| 14:03 | In the /timeline page, add support for (from,ft) and (from,bt) query parameter pairs. check-in: 793c492415 user: drh tags: trunk | |
| 01:36 | Fix a typo in a code comment. No logic changes. check-in: 015d7b7a41 user: drh tags: trunk | |
| 01:33 | Simplification to the PQueue object to remove the content pointer, which is never used. check-in: 83c4ab6051 user: drh tags: trunk | |
Changes
Changes to src/name.c.
| ︙ | ︙ | |||
208 209 210 211 212 213 214 | ** Find the RID of the most recent object with symbolic tag zTag ** and having a type that matches zType. ** ** Return 0 if there are no matches. ** ** This is a tricky query to do efficiently. ** If the tag is very common (ex: "trunk") then | | | 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
** Find the RID of the most recent object with symbolic tag zTag
** and having a type that matches zType.
**
** Return 0 if there are no matches.
**
** This is a tricky query to do efficiently.
** If the tag is very common (ex: "trunk") then
** we want to use the query identified below as Q1 - which searches
** the most recent EVENT table entries for the most recent with the tag.
** But if the tag is relatively scarce (anything other than "trunk", basically)
** then we want to do the indexed search show below as Q2.
*/
static int most_recent_event_with_tag(const char *zTag, const char *zType){
return db_int(0,
"SELECT objid FROM ("
|
| ︙ | ︙ |