mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-28 08:09:42 +01:00
fix #422
This commit is contained in:
parent
02bfb3eed6
commit
c1dc8830d5
@ -79,7 +79,10 @@ DatabaseDriver* DatabaseFactory::driverForType(DatabaseDriver::DriverType d) con
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString DatabaseFactory::escapeQuery(const QString& query) {
|
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 {
|
DatabaseDriver::DriverType DatabaseFactory::activeDatabaseDriver() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user