Repository navigation
docs: 修正集合示例输出、IO 参数与 MySQL 索引说明 - #2942
Merged
Merged
Conversation
Corrected a typo from 'lcok' to 'lock' in the documentation.
Corrected the description of the write method to clarify that 'len' refers to the maximum number of bytes to write.
Clarified the requirement to release cursors based on specific DBMS.
Clarified the effects of range queries on index usage.
Clarified explanation of index invalidation issues in MySQL.
Contributor
Author
|
Thanks for the clearer PR description. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
补齐 LinkedList、CopyOnWriteArrayList 示例中缺失的输出,修正 DelayQueue、线程池、SQL 游标和 MySQL 索引文章的错字与断行,并改正缓冲流的读写说明。
MySQL 联合索引部分区分范围区间构造、后续键列对边界的收窄,以及 ICP 过滤;不将
>=、<=、BETWEEN和前缀LIKE一概列为例外,也不把范围扫描等同于索引完全失效。OutputStream 和 Writer 的len表示要写入的字节数或字符数。验证:
javac --release 11)运行 LinkedList、CopyOnWriteArrayList 示例,完整输出与文档一致;验证了三个write(..., off, len)重载。>=和BETWEEN与后续列条件组合的 EXPLAIN、optimizer_trace,核对范围扫描、边界收窄与过滤的区别。参考:MySQL 多列索引范围访问、OutputStream、Writer。