Skip to content
Snippets Groups Projects
Commit 5c68ee1b authored by esaunders's avatar esaunders
Browse files

Added private method to TskImgDBPostgreSQL that looks for an existing module...

Added private method to TskImgDBPostgreSQL that looks for an existing module based on its name and returns the module id. This method is called by TskImgDBPostgreSQL::addModule() to initially check if the module already exists. If the module does not exist we attempt to insert. This insert attempt may fail if another node in a distributed environment creates the module entry. In that case we again fall back on the new getModuleId() method.
parent 633f5e8d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment