Overview
Comment: | Use ll_append_str for literal strings too, in case they contain \x escapes. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7b627ca61811e4857cac3cac18bcd71d |
User & Date: | user on 2021-12-31 07:02:50 |
Other Links: | manifest | tags |
Context
2022-01-01
| ||
01:20 | Move frequently questions to the separate file, and mention custom columns of LEVELS table in SQL documentation. check-in: c7613ace1d user: user tags: trunk | |
2021-12-31
| ||
07:02 | Use ll_append_str for literal strings too, in case they contain \x escapes. check-in: 7b627ca618 user: user tags: trunk | |
2021-12-30
| ||
23:44 | More explanation of how the results of calculations are used for the level table. check-in: 30d372f39a user: user tags: trunk | |
Changes
Modified function.c from [c810f6f9c4] to [77517819b9].
︙ | ︙ | |||
1600 1601 1602 1603 1604 1605 1606 | if(classes[z] && classes[z]->name) sqlite3_str_appendf(str,"%s",classes[z]->name); break; case TY_LEVELSTRING: if(stack[n].u>=nlevelstrings) break; ll_append_str(str,levelstrings[stack[n].u],strlen(levelstrings[stack[n].u])); break; case TY_STRING: | | | 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 | if(classes[z] && classes[z]->name) sqlite3_str_appendf(str,"%s",classes[z]->name); break; case TY_LEVELSTRING: if(stack[n].u>=nlevelstrings) break; ll_append_str(str,levelstrings[stack[n].u],strlen(levelstrings[stack[n].u])); break; case TY_STRING: ll_append_str(str,stringpool[stack[n].u]+1,strlen(stringpool[stack[n].u]+1)); break; case TY_FOR: ll_append_str(str,lvl+(stack[n].u>>16)+6,stack[n].u&0xFFFF); break; // Otherwise, do nothing } if(z=sqlite3_str_length(str)) { |
︙ | ︙ |