Make DB-intensive loops perform stuff in one transaction.
commitb9740706fb6cb941a6ceb8d0346fa97c966138bb
authorJan Kundrát <jkt@gentoo.org>
Sat, 7 Feb 2009 11:42:11 +0000 (7 12:42 +0100)
committerJan Kundrát <jkt@gentoo.org>
Sat, 7 Feb 2009 11:42:11 +0000 (7 12:42 +0100)
treea368194a8b20fa1e8e2758e7f00c5b411aac7fcb
parenta9e5bcf5bd60f9b18af6f06925171db2d14c35b4
Make DB-intensive loops perform stuff in one transaction.

This means that adding media from collection to the playlist is no more dog slow
with sqlite.
src/core/PlaylistModel.cpp