]> git.sesse.net Git - vlc/commit
sql_lite: If query is not a LIKE % search use = .
authorFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 13 Sep 2012 20:39:40 +0000 (22:39 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 13 Sep 2012 21:03:44 +0000 (23:03 +0200)
commit5152b38091da496023b9edcd419868bbc38234fc
tree7922a121a37b74ee8d39fb2fcf2f51fb7556b6c7
parentc60b89f4abef4bc0ec3563bd3a43d7172373865b
sql_lite: If query is not a LIKE % search use = .

Sqlite can't make use of indexes on LIKE queries.
It always results in a full table scan.
modules/media_library/sql_search.c