You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/02 03:20:21 UTC

[GitHub] [shardingsphere] bojiw commented on issue #21885: Get the sql executed on the current connection of sharding-proxy

bojiw commented on issue #21885:
URL: https://github.com/apache/shardingsphere/issues/21885#issuecomment-1299510732

   There is currently a function that requires secondary development of sharding-proxy
   Demand content:
   After receiving the select last_insert_id() sql, need to rewrite the sql with the name of the table to be queried
   
   At present, it is considered to save the table name as the current connection id when executing insert, and then obtain the table name saved by insert through the current connection id when executing select last_insert_id().
   
   I want to determine whether the current sharding-proxy is using the same connection when the business executes insert and then executes select last_insert_id. If so, where is it appropriate to implement the operation just now?
   


-- 
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