You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "TeslaCN (via GitHub)" <gi...@apache.org> on 2023/06/02 07:25:30 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue, #26013: HintValueContext in QueryContext is different with the one in CommonSQLStatementContext

TeslaCN opened a new issue, #26013:
URL: https://github.com/apache/shardingsphere/issues/26013

   ## Question
   
   Hint in SQL comment is separately handled in MySQLComQueryPacket, which caused HintValueContext in QueryContext is different with the one in CommonSQLStatementContext.
   
   https://github.com/apache/shardingsphere/blob/35856435d1b10f9c1d388b3040c4c8d8005616e2/db-protocol/mysql/src/main/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/text/query/MySQLComQueryPacket.java#L42-L43
   
   `executionContext.queryContext.hintValueContext`
   ![image](https://github.com/apache/shardingsphere/assets/20503072/fd51a196-3317-4999-9711-3b977b160312)
   
   `((SQLHintExtractor)((CommonSQLStatementContext)executionContext.queryContext.sqlStatementContext).sqlHintExtractor).hintValueContext`
   ![image](https://github.com/apache/shardingsphere/assets/20503072/a73a6f72-1cae-4b41-a365-60c1475d5fe2)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu closed issue #26013: HintValueContext in QueryContext is different with the one in CommonSQLStatementContext

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu closed issue #26013: HintValueContext in QueryContext is different with the one in CommonSQLStatementContext
URL: https://github.com/apache/shardingsphere/issues/26013


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org