Core/Updater: fixed host parameter is being ignored

(cherry picked from commit e51b6601779050837fcc87f27579b86c50446fc3)
This commit is contained in:
joschiwald authored and Naios committed 2015-10-05 17:15:54 +02:00
1 parent 45a60c2d22
commit 3db4c64287
1 file changed
+4 -1
+4 -1
View File
@@ -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);