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 2019/09/05 15:23:53 UTC

[GitHub] [incubator-shardingsphere] xiyelife opened a new pull request #2985: Fixes #2923.

xiyelife opened a new pull request #2985: Fixes #2923.
URL: https://github.com/apache/incubator-shardingsphere/pull/2985
 
 
   Fixes #2923.
   
   Changes proposed in this pull request:
   First, if preparedStatemnt == null in getRoutedStatements(), emptyList will be returned. This step will stop NPE, but set queryTime() actually is not executed, for there is no preparedStatement.
   Second, we may cache the value of queryTime() in AbstractStatementAdapter.java. When executeUpdate() or execute() is called, at this time, we relay the action, i.e, setQueryTime().
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services