FileAnalysis: optimizate connection set updating.

Don't need to be checking/updating that for sequential data input, which
won't be over multiple conns.
This commit is contained in:
Jon Siwek 2013-04-19 11:55:48 -05:00
parent 98f7907dbb
commit c1f37dde5a
2 changed files with 8 additions and 4 deletions

View file

@ -134,7 +134,8 @@ protected:
* fields.
*/
File* GetFile(const string& unique, Connection* conn = 0,
AnalyzerTag::Tag tag = AnalyzerTag::Error);
AnalyzerTag::Tag tag = AnalyzerTag::Error,
bool update_conn = true);
/**
* @return the File object mapped to \a file_id, or a null pointer if no