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:
ihmc3jn09hk 2020-02-08 11:08:11 +08:00 committed by GitHub
parent 3d8c304a47
commit b733eee7e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

2
.gitignore vendored
View File

@ -44,4 +44,4 @@ latex/
.settings/
.vs/
CMakeSettings.json
install

View File

@ -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",

@ -1 +1 @@
Subproject commit faea59cfe6e1e836a7e9d8a08669b8e2d3a466ae
Subproject commit dc45be8593c8acad952b8abc38b807aeeeae6baf