Minor fix

This commit is contained in:
Nodir Temirkhodjaev 2019-12-12 18:53:51 +05:00
parent f05b94d3b2
commit 639d2b02d1

View File

@ -248,7 +248,7 @@ QStringList SqliteDb::columnNames(const QString &tableName,
const auto schemaTableName = entityName(schemaName, tableName);
const auto sql = QString(
"SELECT * FROM %1 WHERE 0 = 1;"
"SELECT * FROM %1 WHERE 0 = 1 LIMIT 1;"
).arg(schemaTableName);
SqliteStmt stmt;