Commit 6e43716d authored by Steven Murray's avatar Steven Murray
Browse files

Added comment for rdbms::Login::s_hiddenPassword and made it a constant

parent 8c070b1e
...@@ -39,7 +39,7 @@ const char *Login::s_fileFormat = "one of " ...@@ -39,7 +39,7 @@ const char *Login::s_fileFormat = "one of "
"mysql://<username>:<password>@<host>:<port>/<db_name> or " "mysql://<username>:<password>@<host>:<port>/<db_name> or "
"postgresql:[connectinfo | URI]"; "postgresql:[connectinfo | URI]";
std::string Login::s_hiddenPassword = "******"; const std::string Login::s_hiddenPassword = "******";
const std::string Login::DbTypeAndConnectionDetails::in_memory = "in_memory"; const std::string Login::DbTypeAndConnectionDetails::in_memory = "in_memory";
const std::string Login::DbTypeAndConnectionDetails::oracle = "oracle"; const std::string Login::DbTypeAndConnectionDetails::oracle = "oracle";
......
...@@ -257,7 +257,10 @@ struct Login { ...@@ -257,7 +257,10 @@ struct Login {
*/ */
static const char *s_fileFormat; static const char *s_fileFormat;
static std::string s_hiddenPassword; /**
* String displayed instead of the actual password.
*/
static const std::string s_hiddenPassword;
private: private:
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment