Core/Updater: fixed host parameter is being ignored
(cherry picked from commit e51b6601779050837fcc87f27579b86c50446fc3)
This commit is contained in:
1 parent
45a60c2d22
commit
3db4c64287
1 file changed
+4
-1
@@ -358,7 +358,10 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
|
||||
std::string const& password, std::string const& port_or_socket, std::string const& database, Path const& path)
|
||||
{
|
||||
std::vector<std::string> args;
|
||||
args.reserve(7);
|
||||
args.reserve(8);
|
||||
|
||||
// args[0] represents the program name
|
||||
args.push_back("mysql");
|
||||
|
||||
// CLI Client connection info
|
||||
args.push_back("-h" + host);
|
||||
|
||||
Reference in new issue
Block a user