Merge branch 'ent-12548-token-last_compact_offset-se-anade-en-cada-ejecucion-del-pandora_db' into 'develop'

Ent-12548-token-last_compact_offset-se-anade-en-cada-ejecucion-del-pandora_db

See merge request artica/pandorafms!6726
This commit is contained in:
Daniel Rodriguez 2023-12-04 11:53:16 +00:00
commit 9922c29579
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ sub pandora_compactdb {
my $last_compact_offset = pandora_get_config_value($dbh, "last_compact_offset");
unless ($last_compact_offset) {
if ($last_compact_offset eq "") {
db_do($dbh, "INSERT INTO tconfig (token, value) VALUES ('last_compact_offset', '0')");
$last_compact_offset = 0;
}