summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43be64a)
raw | patch | inline | side by side (parent: 43be64a)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Apr 2009 15:21:49 +0000 (15:21 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 3 Apr 2009 15:21:49 +0000 (15:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13578 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/DBsqlite.pm | patch | blob | history |
index 93aa51bab858d173ab9587578b71e19c2d79dc2b..e31fbf00fbc4a8222cb49b1c53a79181646a7df8 100644 (file)
&main::daemon_log("0 DEBUG: $sql_statement succeeded.", 9);
};
if($@) {
- $self->recreate_database();
+ eval {
+ $self->{dbh}->do("ANALYZE");
+ $self->{dbh}->do("VACUUM");
+ };
}
if($success) {
$self->unlock();