fix for #1187: don't send timeout to zero

This commit is contained in:
Guenter Obiltschnig 2016-03-10 21:30:17 +01:00
parent b2ac870240
commit a42505b9ed

View File

@ -55,7 +55,6 @@ SessionImpl::SessionImpl(const std::string& connectionString, std::size_t loginT
addProperty("insertId", &SessionImpl::setInsertId, &SessionImpl::getInsertId);
setProperty("handle", static_cast<MYSQL*>(_handle));
open();
setConnectionTimeout(CONNECTION_TIMEOUT_DEFAULT);
}