A small fix. (#345)
* Fix missed "password" fix for MySQL. * Update trantor Co-authored-by: An Tao <antao2002@gmail.com>
This commit is contained in:
parent
3d8c304a47
commit
b733eee7e4
|
@ -44,4 +44,4 @@ latex/
|
|||
.settings/
|
||||
.vs/
|
||||
CMakeSettings.json
|
||||
|
||||
install
|
||||
|
|
|
@ -804,6 +804,10 @@ void create_model::createModel(const std::string &path,
|
|||
exit(1);
|
||||
}
|
||||
auto password = config.get("passwd", "").asString();
|
||||
if (password.empty())
|
||||
{
|
||||
password = config.get("password", "").asString();
|
||||
}
|
||||
|
||||
auto connStr =
|
||||
utils::formattedString("host=%s port=%u dbname=%s user=%s",
|
||||
|
|
2
trantor
2
trantor
|
@ -1 +1 @@
|
|||
Subproject commit faea59cfe6e1e836a7e9d8a08669b8e2d3a466ae
|
||||
Subproject commit dc45be8593c8acad952b8abc38b807aeeeae6baf
|
Loading…
Reference in New Issue