Git commit dcf351abba5323e07f222677206e23cd645af118 by Fernando Vilas. Committed on 31/12/2013 at 22:34. Pushed by fvilas into branch 'master'. Delimit date strings in initial DB creation SQL. Everywhere else uses bind = variables, so this should fix it. BUG: 301104 M +6 -2 kmymoney/mymoney/storage/mymoneydbdef.cpp http://commits.kde.org/kmymoney/dcf351abba5323e07f222677206e23cd645af118 diff --git a/kmymoney/mymoney/storage/mymoneydbdef.cpp b/kmymoney/mymoney/s= torage/mymoneydbdef.cpp index e12f90c..bfd1513 100644 --- a/kmymoney/mymoney/storage/mymoneydbdef.cpp +++ b/kmymoney/mymoney/storage/mymoneydbdef.cpp @@ -413,9 +413,13 @@ const QString MyMoneyDbDef::generateSQL(const KSharedP= tr& drive replace =3D QString::number (MyMoneyFile::instance()->storage()->currentFixVersion()); if ((*fit)->name() =3D=3D "created") - replace =3D QDate::currentDate().toString(Qt::ISODate); + replace =3D QLatin1Char('\'') + + QDate::currentDate().toString(Qt::ISODate) + + QLatin1Char('\''); if ((*fit)->name() =3D=3D "lastModified") - replace =3D QDate::currentDate().toString(Qt::ISODate); + replace =3D QLatin1Char('\'') + + QDate::currentDate().toString(Qt::ISODate) + + QLatin1Char('\''); if ((*fit)->name() =3D=3D "updateInProgress") replace =3D enclose("N"); qs.replace(toReplace, replace);