[Koha-bugs] [Bug 14097] Add unit tests to C4::UsageStats

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 30 15:46:58 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14097

--- Comment #3 from Marc Véron <veron at veron.ch> ---
Ok, restored VM, tested with same failure as above.

No problem with database after testing. Do not now what happend to break it
before.

Question: What happens if the script stops / exits / fails for whatever reason
after following lines? 

my $dbh = C4::Context->dbh;
$dbh->{AutoCommit} = 0;
$dbh->{RaiseError} = 1;
$dbh->do('DELETE FROM biblio');
$dbh->do('DELETE FROM items');
$dbh->do('DELETE FROM auth_header');
$dbh->do('DELETE FROM old_issues');
$dbh->do('DELETE FROM old_reserves');
$dbh->do('DELETE FROM borrowers');
$dbh->do('DELETE FROM aqorders');
$dbh->do('DELETE FROM subscription');

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list