This commit is contained in:
Martin Rotter 2021-08-04 11:02:30 +02:00
parent 02bfb3eed6
commit c1dc8830d5

View File

@ -79,7 +79,10 @@ DatabaseDriver* DatabaseFactory::driverForType(DatabaseDriver::DriverType d) con
}
QString DatabaseFactory::escapeQuery(const QString& query) {
return QString(query).replace(QSL("'"), QSL("''")).replace(QSL("\""), QSL("\\\""));
return QString(query)
.replace(QSL("'"), QSL("''"));
//.replace(QSL("\""), QSL("\\\""));
}
DatabaseDriver::DriverType DatabaseFactory::activeDatabaseDriver() const {