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/06/29 18:27:59 UTC

[GitHub] [shardingsphere] zjcnb commented on pull request #18677: Refactor ShardingSphereMetaData.databases to ConcurrentHashMap

zjcnb commented on PR #18677:
URL: https://github.com/apache/shardingsphere/pull/18677#issuecomment-1170346140

   I reproduced this problem in my local environment, we have only `server.yaml` and `ShrdingSphere-Proxy `start up success. 
   
   When I connect `Proxy` and excute `DQL` statement. the `databaseName` is null.
   
   <img width="1337" alt="image" src="https://user-images.githubusercontent.com/33742097/176509249-fd97e716-b2b2-4b4a-bfec-6b8af3c21a91.png">
   
   Because `databases` are `ConcurrentHashMap`, so it will throw exception when `key` is null.
   


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