<br><br><div><span class="gmail_quote">2007/7/2, Arnd Baecker <<a href="mailto:arnd.baecker@web.de">arnd.baecker@web.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>On Mon, 2 Jul 2007, depot @ xs4all. nl wrote:<br><br>> Hi Arnd,<br>><br>> Thanks for your response. But it's not quite what I am looking for.<br>><br>> The queries (user searches) stored by digikam in the 
digikam3.db are in the format used by digikam.<br>> Eg 'digikamsearch:1%20AND%202?1.key=imagename&1.op=LIKE&1<br>> .val=20&2.key=imagedate&2.op=LT&2.val=2007-07-02&count=2&name=testsearch');
<br>> These are not sql queries.<br>><br>> I am looking for the sql queries that digikam generates to access the digikam3.db internally<br>> when a  user performs a search.<br><br>Alright, next try (need not be better ;-):
<br><br>Can you compile from source?<br>If so you could just add in digikamsearch.cpp<br>  kdWarning() << "QUERY" << sqlQuery << endl;</blockquote><div><br>to prevent problem with multithreading in digiKam, do not use KDE API directly, but "DWarning()" instaead "kdWarning()" 
<br><br>unforget to put #include"ddebug.h" at top of source to compile fine.<br><br>Gilles</div></div><br>