From: rettenbe Date: Wed, 16 Apr 2008 07:52:10 +0000 (+0000) Subject: bugfix for sqlite3.0, workaround for broken db schema X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c7091b89d923aab4b50e530ce3afa27359f0d7d;p=gosa.git bugfix for sqlite3.0, workaround for broken db schema git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10490 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/DBsqlite.pm b/gosa-si/modules/DBsqlite.pm index bf6a63ac5..5881ebeb6 100644 --- a/gosa-si/modules/DBsqlite.pm +++ b/gosa-si/modules/DBsqlite.pm @@ -230,6 +230,7 @@ sub exec_statement { my $self = shift; my $sql_statement = shift; + $self->{dbh}->do("ANALYZE"); my @db_answer = @{$self->{dbh}->selectall_arrayref($sql_statement)}; return \@db_answer;