From 3565aad630864ecdbe53fdaa501ea708555b3c7c Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 30 Apr 2023 18:30:36 -0400 Subject: New upstream version 3.4.4+dfsg. --- SQLiteStudio3/coreSQLiteStudio/completioncomparer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'SQLiteStudio3/coreSQLiteStudio/completioncomparer.h') diff --git a/SQLiteStudio3/coreSQLiteStudio/completioncomparer.h b/SQLiteStudio3/coreSQLiteStudio/completioncomparer.h index 4d5dd79..92401a3 100644 --- a/SQLiteStudio3/coreSQLiteStudio/completioncomparer.h +++ b/SQLiteStudio3/coreSQLiteStudio/completioncomparer.h @@ -46,6 +46,7 @@ class CompletionComparer bool compareColumnsForUpdateCol(const ExpectedTokenPtr& token1, const ExpectedTokenPtr& token2, bool* result); bool compareColumnsForDeleteCol(const ExpectedTokenPtr& token1, const ExpectedTokenPtr& token2, bool* result); bool compareColumnsForCreateTable(const ExpectedTokenPtr& token1, const ExpectedTokenPtr& token2, bool* result); + bool compareColumnsForReturning(const ExpectedTokenPtr& token1, const ExpectedTokenPtr& token2, bool* result); bool compareTables(const ExpectedTokenPtr& token1, const ExpectedTokenPtr& token2); bool compareIndexes(const ExpectedTokenPtr& token1, const ExpectedTokenPtr& token2); bool compareTriggers(const ExpectedTokenPtr& token1, const ExpectedTokenPtr& token2); @@ -63,8 +64,8 @@ class CompletionComparer const QList& contextValues, bool handleSystemNames, bool* ok = nullptr); bool compareByContextOnly(const QString &token1, const QString &token2, const QStringList& contextValues, bool handleSystemNames, bool* ok); - bool isTokenOnAvailableList(const ExpectedTokenPtr& token); - bool isTokenOnParentAvailableList(const ExpectedTokenPtr& token); + bool isTokenOnAvailableColumnList(const ExpectedTokenPtr& token); + bool isTokenOnParentAvailableColumnList(const ExpectedTokenPtr& token); bool isTokenOnResultColumns(const ExpectedTokenPtr& token); static bool isTokenOnColumnList(const ExpectedTokenPtr& token, const QList& columnList); }; -- cgit v1.2.3