Merge branch 'single_query_playcounts'
authorJonathan Marshall <jmarshall@never.you.mind>
Sun, 29 May 2011 21:28:03 +0000 (09:28 +1200)
committerJonathan Marshall <jmarshall@never.you.mind>
Sun, 29 May 2011 21:51:18 +0000 (09:51 +1200)
commit41503459b8387e50412efbba9f2ae3605ef0953a
treef5306ffeeb70a93bd302c9d31abe8016366f93ca
parentd532ea527fe9f5f25b08e42471b7931c10856ded
parentab3ad3b0187503ec404eb58accf9bb2778ca3df8
Merge branch 'single_query_playcounts'

* single_query_playcounts:
  changed: use specialised dropIndex function call for dropping indexes.
  added: specialised dropIndex function for managing the difference between DROP INDEX calls on sqlite and mysql.
  switch to mysql-compatible DROP INDEX statements, and alter sqlite3 db layer so that it converts these to sqlite-friendly statements
  remove the IF EXISTS from the DROP INDEX - mysql doesn't support it
  remote old pre-addons xml import code that wasn't ever going to work
  fix grammar in comments
  speed up retrieval of library info when browsing by file
  update comment with note regarding items in a folder with content set that aren't yet in the db
  add an extra column to the video database with the parent path id to allow faster lookup of items by folder
  change AddPath so it checks for a previously existing path and make it public
  make sure paths with content set are imported from xml prior to importing media, ensuring we can set the basepath correctly
  use a single query for retrieving playcounts to speed up file listings

Conflicts:
xbmc/video/windows/GUIWindowVideoNav.cpp
xbmc/video/VideoDatabase.cpp
xbmc/video/VideoDatabase.h
xbmc/video/VideoInfoTag.cpp
xbmc/video/windows/GUIWindowVideoNav.cpp