mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-02-15 06:49:44 -06:00
tests added MySQL quotes
This commit is contained in:
@@ -2224,7 +2224,7 @@ const QString &tst_MySql_QDateTime::utcTimezoneString() const
|
||||
bool tst_MySql_QDateTime::mysqlTimezoneTablesNotPopulated() const
|
||||
{
|
||||
auto qtQuery = DB::select(
|
||||
QStringLiteral("select count(*) from mysql.time_zone_name"),
|
||||
QStringLiteral("select count(*) from `mysql`.`time_zone_name`"),
|
||||
{}, m_connection);
|
||||
|
||||
if (!qtQuery.first())
|
||||
|
||||
@@ -1345,7 +1345,7 @@ bool
|
||||
tst_Model_QDateTime::mysqlTimezoneTablesNotPopulated(const QString &connection)
|
||||
{
|
||||
auto qtQuery = DB::select(
|
||||
QStringLiteral("select count(*) from mysql.time_zone_name"),
|
||||
QStringLiteral("select count(*) from `mysql`.`time_zone_name`"),
|
||||
{}, connection);
|
||||
|
||||
if (!qtQuery.first())
|
||||
|
||||
Reference in New Issue
Block a user