From 2c7091b89d923aab4b50e530ce3afa27359f0d7d Mon Sep 17 00:00:00 2001 From: rettenbe Date: Wed, 16 Apr 2008 07:52:10 +0000 Subject: [PATCH] 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 --- gosa-si/modules/DBsqlite.pm | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2