mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 17:45:15 -04:00
checked for existence of messages before committing to
db store in genexhange (sql error drB noted in tests) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7324 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
14b55a720c
commit
faa7a8e7b1
3 changed files with 67 additions and 1 deletions
|
@ -771,7 +771,7 @@ private:
|
|||
|
||||
/*!
|
||||
* Checks validation of recently received groups to be
|
||||
* updated
|
||||
* updated (and updates them, a bit of a misnomer)
|
||||
*/
|
||||
void performUpdateValidation();
|
||||
|
||||
|
@ -790,6 +790,14 @@ private:
|
|||
*/
|
||||
bool checkKeys(const RsTlvSecurityKeySet& keySet);
|
||||
|
||||
/*!
|
||||
* Message and notification map passed to method
|
||||
* are cleansed of msgs and ids that already exist in database
|
||||
* @param msgs messages to be filtered
|
||||
* @param msgIdsNotify message notification map to be filtered
|
||||
*/
|
||||
void removeDeleteExistingMessages(RsGeneralDataService::MsgStoreMap& msgs, GxsMsgReq& msgIdsNotify);
|
||||
|
||||
private:
|
||||
|
||||
RsMutex mGenMtx;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue