diff --git a/src/ui/3rdparty/sqlite/sqlitedb.cpp b/src/ui/3rdparty/sqlite/sqlitedb.cpp index 1bb87442..f830def3 100644 --- a/src/ui/3rdparty/sqlite/sqlitedb.cpp +++ b/src/ui/3rdparty/sqlite/sqlitedb.cpp @@ -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;