try to fix mariadb encoding problem
This commit is contained in:
parent
70b518e839
commit
712a65f79a
@ -1396,7 +1396,7 @@ QPair<int, int> DatabaseQueries::updateMessages(QSqlDatabase db,
|
|||||||
auto bulk_error = bulk_query.lastError();
|
auto bulk_error = bulk_query.lastError();
|
||||||
|
|
||||||
if (bulk_error.isValid()) {
|
if (bulk_error.isValid()) {
|
||||||
QString txt = bulk_error.text() + bulk_error.databaseText();
|
QString txt = bulk_error.text() + bulk_error.databaseText() + bulk_error.driverText();
|
||||||
|
|
||||||
//IOFactory::writeFile("aa.sql", final_bulk.toUtf8());
|
//IOFactory::writeFile("aa.sql", final_bulk.toUtf8());
|
||||||
qCriticalNN << LOGSEC_DB
|
qCriticalNN << LOGSEC_DB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user