openbsd-ports/audio/squeezecenter/patches/patch-Slim_Music_Import_pm
2009-01-28 01:36:00 +00:00

19 lines
561 B
Plaintext

$OpenBSD: patch-Slim_Music_Import_pm,v 1.2 2009/01/28 01:36:00 sthen Exp $
--- Slim/Music/Import.pm.orig Tue Jan 20 02:35:13 2009
+++ Slim/Music/Import.pm Wed Jan 21 01:28:36 2009
@@ -264,9 +264,11 @@ sub setIsScanning {
my $autoCommit = Slim::Schema->storage->dbh->{'AutoCommit'};
- if ($autoCommit) {
- Slim::Schema->storage->dbh->{'AutoCommit'} = 0;
- }
+ # Disabled as per Bugzilla 8261: this causes DBIx transactions to fail.
+ #
+ #if ($autoCommit) {
+ # Slim::Schema->storage->dbh->{'AutoCommit'} = 0;
+ #}
eval { Slim::Schema->txn_do(sub {