diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2024-01-16 17:21:37 -0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2024-01-22 21:44:21 -0800 |
| commit | 79e1389fb9ea4e43e61ab35e41ed275cb76eedbc (patch) | |
| tree | e6719628430ad6cffd13c369fb3782af00b2889e /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | aec39bd136defe9e6646b9edfcdd2f02d62471f0 (diff) | |
QProcess: align treatment of early start errors
There are a couple of possible runtime errors that could happen before
the state was changed to QProcess::Starting. This aligns the Unix code
with Windows, which has the state transition at the top, and with the
documentation which says we will enter QProcess::Starting state.
Complements commit 956b2495285251e4840ec32885ffa2cfbb7bd79c, repeating
what it did for Unix (removing the overwriting of the error message that
openChannel() sets) on Windows. We also need to ensure cleanup() is
always called.
Pick-to: 6.6 6.7
Change-Id: I76ffba14ece04f24b43efffd17aafdd47f908bf1
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
