diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2024-01-18 14:34:58 -0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2024-02-26 23:29:40 -0800 |
| commit | b653e05c92dd137ca2994d9d97bea839ca9a5e73 (patch) | |
| tree | 4340f2769014d3f9442726b2bb39f72a20bdaa4e /src/sql/doc/snippets/sqldatabase | |
| parent | 03f1ea3dcb956c69216084d1df3a21f460c8475b (diff) | |
QProcess: set the error message and state if qt_create_pipe() fails
It can only happen on resource exhaustion, which is an unlikely
situation. That's probably why we didn't handle this case. But let's do
it now.
This necessitated that qt_create_pipe() return with errno/GetLastError()
properly set, so save it and restore around functions that may change it
(like qErrnoWarning()).
Drive-by update of some warning messages.
Testing this is not practical and is fragile, because it requires
causing the resource exhaustion problem.
Pick-to: 6.6 6.7
Change-Id: I76ffba14ece04f24b43efffd17aafe4f11f54c21
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
