From 639d2b02d108a8cfa1793638f35b332d3d330294 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Thu, 12 Dec 2019 18:53:51 +0500 Subject: [PATCH] Minor fix --- src/ui/3rdparty/sqlite/sqlitedb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;