Bug #92775 | wrong figure in comment of class SELECT_LEX_UNIT | ||
---|---|---|---|
Submitted: | 13 Oct 2018 8:59 | Modified: | 16 Oct 2018 12:12 |
Reporter: | Kang Xia (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 8.0.12 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | SELECT_LEX_UNIT, sql_lex.h |
[13 Oct 2018 8:59]
Kang Xia
[15 Oct 2018 13:13]
MySQL Verification Team
Hi, Thank you for your bug report. First of all, could you pinpoint the subchapter and paragraph in our Reference Manual where we have drawn the graph that you have presented. If there is no graph like that, then our documentation is fine. Second, next_1.2 is available from master as well. You do not need to traverse two slaves but only one, since two paths lead to that node. Node is the correct expression, BTW ... Last, but not least, that node is NULL in your example, but it could be a valid pointer in some other SQL statement.
[16 Oct 2018 1:31]
Kang Xia
Hello, Thanks for your reply. The SQL and the graph belong to a whole example, which is presented in source code mysql-boost-8.0.12/sql/sql_lex.h(line 566). I think source code comments are also important documentations. The graph illustrates the structure of THE SQL after parsing, and means nothing of any other SQL statements. Two slaves are needed to be traversed to arrive unit_1.2, one slave can only arrive a SELECT_LEX but not a SELECT_LEX_UNIT.
[16 Oct 2018 12:12]
MySQL Verification Team
Hi, I think that you are correct. Source code comments should also be changed to reflect properly the algorithms used. Verified as reported.