DbURL: improve constructor performance
When constructing a DbURL without an explicit username, /usr/bin/id was executed regardless of whether we needed its output or not. That seems excessive; let's only use it if the environment doesn't already have what we need.
Showing
想要评论请 注册 或 登录