Code

Correct syntax (hope so) - vacumm table has no effect.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Apr 2008 11:40:40 +0000 (11:40 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Apr 2008 11:40:40 +0000 (11:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10671 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index dd29fd8a7ba9732a03c50f4aa19c6f739ac945ae..660b94e74e2a07d1029da4372234ea9545e58891 100755 (executable)
@@ -1747,8 +1747,8 @@ sub create_fai_release_db {
 
                        daemon_log("$session_id DEBUG: Inserting ".scalar @sql_list." entries to DB",8);
                        if(@sql_list) {
-                               unshift @sql_list, "VACUUM $table_name";   # at first vacuum the logs and clear the db
                                unshift @sql_list, "DELETE FROM $table_name";
+                               unshift @sql_list, "VACUUM";   # at first vacuum the logs and clear the db
                                $fai_release_db->exec_statementlist(\@sql_list);
                        }
                        daemon_log("$session_id DEBUG: Done with inserting",7);