mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-04 13:02:28 +01:00 
			
		
		
		
	reindex should cleanup its tempfiles
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		@@ -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);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user