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

--- Comment #11 from Tiar <tamtamy.tym...@gmail.com> ---
Git commit b1c5f6d6da5cb3d1896c03066e0172beb6377dca by Agata Cacko.
Committed on 19/11/2021 at 04:47.
Pushed by tymond into branch 'master'.

Change null strings to empty in CacheDb queries

Before this commit, CacheDb queries could sometimes
fail because the string supplied was null instead of empty
(most common in storages, where an empty string indicates
the resource folder).
Null strings in queries cause issues because comparison with a null
is always string.

This commit ensures that null strings are converted to empty strings
before being used in in WHERE part in an sql query.

M  +23   -13   libs/resources/KisResourceCacheDb.cpp

https://invent.kde.org/graphics/krita/commit/b1c5f6d6da5cb3d1896c03066e0172beb6377dca

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

Reply via email to