Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Remove redundant assignment of the xCmp local variable in the add_files_in_sfile function. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
cad1b4a4348527ba016b54b39408c444 |
| User & Date: | mistachkin 2011-08-05 19:14:04.296 |
Context
|
2011-08-07
| ||
| 10:56 | Updates to the makefile documentation. ... (check-in: ef0b48de0d user: drh tags: trunk) | |
|
2011-08-05
| ||
| 19:14 | Remove redundant assignment of the xCmp local variable in the add_files_in_sfile function. ... (check-in: cad1b4a434 user: mistachkin tags: trunk) | |
|
2011-08-04
| ||
| 22:17 | Merge the --case-sensitive feature into trunk. ... (check-in: 874d0ca303 user: drh tags: trunk) | |
Changes
Changes to src/add.c.
| ︙ | ︙ | |||
147 148 149 150 151 152 153 |
}else{
xCmp = fossil_stricmp;
db_multi_exec(
"CREATE INDEX IF NOT EXISTS vfile_nocase"
" ON vfile(pathname COLLATE nocase)"
);
}
| < | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
}else{
xCmp = fossil_stricmp;
db_multi_exec(
"CREATE INDEX IF NOT EXISTS vfile_nocase"
" ON vfile(pathname COLLATE nocase)"
);
}
db_prepare(&loop, "SELECT x FROM sfile ORDER BY x");
while( db_step(&loop)==SQLITE_ROW ){
const char *zToAdd = db_column_text(&loop, 0);
if( fossil_strcmp(zToAdd, zRepo)==0 ) continue;
for(i=0; (zReserved = fossil_reserved_name(i))!=0; i++){
if( xCmp(zToAdd, zReserved)==0 ) break;
}
|
| ︙ | ︙ |