Re: [Tracker] Query with more than 3 metadata fields



Yes, it seems that the rdf query functionality is broken (the examples
in CVS all seem to create bad SQL queries...) Anyways, the segfault
was a glaring mistake, here's the patch.

Samuel

On 9/15/06, Fabien VALLON <fabien sonappart net> wrote:
Samuel Cormier-Iijima wrote :
> What rdf query are you using?
>


<rdfq:Condition>
  <rdfq:inSet>
    <rdfq:Property name="File.Format" />
    <rdf:String>audio/wav,audio/x-vorbis+ogg,audio/x-mp3</rdf:String>
  </rdfq:inSet>
</rdfq:Condition>

> On 9/15/06, Fabien VALLON <fabien sonappart net> wrote:
>> Hi,
>>
>> When I use tracker-query I get :
>> $ tracker-query ~/tmp/1.rdfq Audio.Artist Audio.Album Audio.Genre
>>
>> got 377 values
>>
>> ....
>>
>> but
>> tracker-query ~/tmp/1.rdfq Audio.Artist Audio.Album Audio.Genre
>> Audio.TrackNo
>> got 0 values
>>
>>
>> What's wrong here ?
>>
>> Another bug :
>> tracker-query ~/tmp/1.rdfq Audio.Artist Audio.Album Audio.Genre
>> Audio.FooBar
>> give :
>> *** glibc detected *** double free or corruption (out): 0x08375c60 ***
>> Received signal 'Abandon' so now shutting down
>>
>> in the trackerd log
>>
>> Cheers
>>
>>        Fabien
>> _______________________________________________
>> tracker-list mailing list
>> tracker-list gnome org
>> http://mail.gnome.org/mailman/listinfo/tracker-list
>>
>


Attachment: field-data-fix.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]