Fossil SCM

Fix a typo in a code comment. No logic changes.

drh 2024-02-08 01:36 trunk
Commit 015d7b7a417057ce65cc2830f68920f05b56f207fff9aa7baf7ae209a9108be5
1 file changed +1 -1
+1 -1
--- src/name.c
+++ src/name.c
@@ -210,11 +210,11 @@
210210
**
211211
** Return 0 if there are no matches.
212212
**
213213
** This is a tricky query to do efficiently.
214214
** If the tag is very common (ex: "trunk") then
215
-** we want to use the query identified below as Q1 - which searching
215
+** we want to use the query identified below as Q1 - which searches
216216
** the most recent EVENT table entries for the most recent with the tag.
217217
** But if the tag is relatively scarce (anything other than "trunk", basically)
218218
** then we want to do the indexed search show below as Q2.
219219
*/
220220
static int most_recent_event_with_tag(const char *zTag, const char *zType){
221221
--- src/name.c
+++ src/name.c
@@ -210,11 +210,11 @@
210 **
211 ** Return 0 if there are no matches.
212 **
213 ** This is a tricky query to do efficiently.
214 ** If the tag is very common (ex: "trunk") then
215 ** we want to use the query identified below as Q1 - which searching
216 ** the most recent EVENT table entries for the most recent with the tag.
217 ** But if the tag is relatively scarce (anything other than "trunk", basically)
218 ** then we want to do the indexed search show below as Q2.
219 */
220 static int most_recent_event_with_tag(const char *zTag, const char *zType){
221
--- src/name.c
+++ src/name.c
@@ -210,11 +210,11 @@
210 **
211 ** Return 0 if there are no matches.
212 **
213 ** This is a tricky query to do efficiently.
214 ** If the tag is very common (ex: "trunk") then
215 ** we want to use the query identified below as Q1 - which searches
216 ** the most recent EVENT table entries for the most recent with the tag.
217 ** But if the tag is relatively scarce (anything other than "trunk", basically)
218 ** then we want to do the indexed search show below as Q2.
219 */
220 static int most_recent_event_with_tag(const char *zTag, const char *zType){
221

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button