mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 17:20:13 +01:00
reindex should cleanup its tempfiles
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
e6607b0bf1
commit
10309b9c25
@ -128,6 +128,9 @@ uint64 retrieve_email_by_metadata_id(struct session_data *sdata, struct data *da
|
|||||||
|
|
||||||
rc = store_index_data(sdata, &state, data, stored_id, cfg);
|
rc = store_index_data(sdata, &state, data, stored_id, cfg);
|
||||||
|
|
||||||
|
unlink(sdata->tmpframe);
|
||||||
|
remove_stripped_attachments(&state);
|
||||||
|
|
||||||
if(rc == OK) reindexed++;
|
if(rc == OK) reindexed++;
|
||||||
else printf("failed to add to %s table: %s\n", SQL_SPHINX_TABLE, filename);
|
else printf("failed to add to %s table: %s\n", SQL_SPHINX_TABLE, filename);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user