[digikam] [Bug 374225] Add possibility to remove face identities by removing tag and remove person tags but preserving the tags themselves [patch]

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Jan 14 16:57:04 GMT 2017


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

--- Comment #19 from caulier.gilles at gmail.com ---
To Simon, from comment #16

"Another question: The patch introduced a new method with an sql query.
In the existing code such queries are sometimes done directly via
execSql, at other places via get-/exec- DBAction, so from
dbconfig.xml.cmake.in .
What decides whether a query gets into dbconfig.xml.cmake.in or whether
it doesn't?"

==> SQL code can be portable between SQL engines. Currently mysql, mariadb, and
sqlite. This is true for simple queries in tables.

For complex queries, especially which touch the dB table structures, data join,
or other SQL love, we need to wrap this code in a XML list with versioning
rules, depending of DB structure version. 

So, if your SQL code is simple, and work everywhere, it can still in source
code as well, else, it's more complex...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list