diff options
| author | Karim Pinter <karim.pinter@qt.io> | 2025-09-04 14:52:36 +0300 |
|---|---|---|
| committer | Karim Pinter <karim.pinter@qt.io> | 2025-09-17 13:24:01 +0300 |
| commit | b4c59c7d49e8322c552e87751b12a7deb3ce349b (patch) | |
| tree | 73ca9ed391c946a16a3beefeb1b87f20d145572d /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 20881debebf529d96ce0a5983e86bedb5d725eb3 (diff) | |
Work around QFileSystemEngine behavior on VxWorks hostFs
On VxWorks with hostFs (commonly used for debugging via Workbench),
using QFile::exists() triggers a statfs() call, which fails. This change
uses stat() check instead, which behaves more reliably in this context.
Additionally, VxWorks stat() still incorrectly reports that the file has
been deleted. This fix accounts for that false negative and avoids
treating the file as missing.
Task-number: QTBUG-139007
Pick-to: 6.8 6.9 6.10
Change-Id: Ie2cd277868e0d57bb8288271c8973da17162eef3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
