Re-introduce batch committing in baloo_file_extractor
Review Request #123964 - Created May 31, 2015 and submitted
This patch adds:
* batch committing to the extractor over stdin.
* drop QTextStreams.
* We now have a class IOHandler which, takes care of reading/writting for the extractor. This makes testing easier (test for class is included in this patch).
* Fixes baloo_file_extractor taking loads of memory. We reopen database for every transaction (for now).
notes: This patch doesn't take care of extractor getting stuck (will be added in a later patch)
IOhandler class is tested with the included test, baloo_file seems to be working normally.
forgot to add the latest revision of a file.
Revision 2 (+292 -98)
Next time. This should be 3 different patches -
One for moving away from QTextStream
One for the IO handler
* One for doing batch commiting