https://bugs.kde.org/show_bug.cgi?id=513761

Simone <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kactivitymanagerd/-/comm
                   |                            |it/5803c659d6bde18742d75d0c
                   |                            |ceb4c539bd60ffba

--- Comment #10 from Simone <[email protected]> ---
Git commit 5803c659d6bde18742d75d0cceb4c539bd60ffba by Simone Checchia.
Committed on 12/02/2026 at 21:02.
Pushed by ivan into branch 'master'.

Fix SQL syntax error: Replace .tables with valid SQL query

The database initialization was using the SQLite shell command ".tables"
which is not valid SQL and causes a syntax error when executed through
QSqlQuery. This prevented KRunner from searching activities and caused
the Activity Bar widget to show incorrect state on startup.

Replace ".tables" with the equivalent SQL query:
"SELECT name FROM sqlite_master WHERE type='table'"

This query achieves the same validation purpose (checking database
integrity) but uses standard SQL syntax that works with Qt's SQL API.

M  +1    -1    src/common/database/schema/ResourcesDatabaseSchema.cpp

https://invent.kde.org/plasma/kactivitymanagerd/-/commit/5803c659d6bde18742d75d0cceb4c539bd60ffba

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to