Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch typo Excluding Merge-Ins
This is equivalent to a diff from a1178d57 to 8a7609b1
2023-05-27
| ||
15:54 | Do not allow non-alpha numeric ascii characters into the search pattern. Convert all such characters into a single space. ... (check-in: 196dfedf user: drh tags: trunk) | |
15:48 | Do not allow the "." character inside of FTS5 search strings. ... (Closed-Leaf check-in: 8a7609b1 user: drh tags: typo) | |
15:02 | Fix the captcha-audio page so that it works even without a seed value. ... (check-in: a1178d57 user: drh tags: trunk) | |
2023-05-26
| ||
10:27 | Improved documentation of the /reports webpage. Add recent enhancements of /reports to the change log. ... (check-in: 5dc3d2f1 user: drh tags: trunk) | |
Changes to src/search.c.
︙ | ︙ | |||
924 925 926 927 928 929 930 | char *zPat = mprintf("%s",zPattern); int i; static const char *zSnippetCall; if( srchFlags==0 ) return; sqlite3_create_function(g.db, "rank", 1, SQLITE_UTF8|SQLITE_INNOCUOUS, 0, search_rank_sqlfunc, 0, 0); for(i=0; zPat[i]; i++){ | | | 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 | char *zPat = mprintf("%s",zPattern); int i; static const char *zSnippetCall; if( srchFlags==0 ) return; sqlite3_create_function(g.db, "rank", 1, SQLITE_UTF8|SQLITE_INNOCUOUS, 0, search_rank_sqlfunc, 0, 0); for(i=0; zPat[i]; i++){ if( zPat[i]=='-' || zPat[i]=='"' zPat[i]=='.' ) zPat[i] = ' '; } blob_init(&sql, 0, 0); if( search_index_type(0)==4 ){ /* If this repo is still using the legacy FTS4 search index, then ** the snippet() function is slightly different */ zSnippetCall = "snippet(ftsidx,'<mark>','</mark>',' ... ',-1,35)"; }else{ |
︙ | ︙ |