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 2021/07/19 14:45:38 UTC

[GitHub] [shardingsphere] tanxujie opened a new issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

tanxujie opened a new issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398


   ### Which version of ShardingSphere did you use?
   5.0.0-beta
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   Both
   
   ### Reason analyze (If you can)
   duplicated code or missing some other important jdbc property
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   when i read 'HikariJDBCParameterDecorator' class source, i found 'useServerPrepStmts' property was set twice in decorate method. I guess it may be duplicated source code or missing some more important property set??
   
   It should be fixed even if just for clean code. :)
   
   ![Uploading duplicated code.png…]()
   


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



[GitHub] [shardingsphere] tanxujie commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
tanxujie commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882994105


   @RaigorJiang 
   OK. I will fix it.


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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882982931






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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882982931


   @tanxujie 
   Thank you for your feedback! 
   I compared the git history, and this is indeed a line of duplicate code. Are you interested in fixing it?  


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



[GitHub] [shardingsphere] tristaZero commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882945700


   Hi @tanxujie thanks for your feedback.
   @RaigorJiang Could you look at this issue?


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



[GitHub] [shardingsphere] terrymanu closed issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398


   


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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882996502


   @tanxujie  Thanks for your contribution.


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



[GitHub] [shardingsphere] tanxujie commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
tanxujie commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882994105


   @RaigorJiang 
   OK. I will fix it.


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



[GitHub] [shardingsphere] tristaZero commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882945700


   Hi @tanxujie thanks for your feedback.
   @RaigorJiang Could you look at this issue?


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



[GitHub] [shardingsphere] tanxujie commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
tanxujie commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882994105


   @RaigorJiang 
   OK. I will fix it.


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



[GitHub] [shardingsphere] tristaZero commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882945700


   Hi @tanxujie thanks for your feedback.
   @RaigorJiang Could you look at this issue?


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



[GitHub] [shardingsphere] terrymanu closed issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398


   


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



[GitHub] [shardingsphere] RaigorJiang commented on issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398#issuecomment-882982931






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



[GitHub] [shardingsphere] terrymanu closed issue #11398: duplicated jdbc property set for 'useServerPrepStmts' in HikariJDBCParameterDecorator

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #11398:
URL: https://github.com/apache/shardingsphere/issues/11398


   


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