patch-Slim_Music_Import_pm 561 B

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