mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Mods:
Updated dataservice tests and fixed subsequent bugs added bug fixes for RetroDb and fixed postability issue (removed map.at use) Added: Data access module used as token service gxs service backend (RsGenExchange) RsPhotoV2 which is a modification to deal with different interface provided by RsGenExchange also added subsequent p3photoserviceV2 NxsTestHub to help with testing nxsnetservice (RsGxsNetService is not yet working) git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-new_cache_system@5274 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f05d2f9b09
commit
081b59ee1a
27 changed files with 1529 additions and 395 deletions
|
@ -36,6 +36,8 @@ void free_blob(void* dat){
|
|||
|
||||
char* c = (char*) dat;
|
||||
delete[] c;
|
||||
dat = NULL;
|
||||
|
||||
}
|
||||
|
||||
const uint8_t ContentValue::BOOL_TYPE = 1;
|
||||
|
@ -337,7 +339,7 @@ bool RetroDb::execSQL_bind_blobs(const std::string &query, std::list<RetroDbBlob
|
|||
|
||||
for(; lit != blobs.end(); lit++){
|
||||
const RetroDbBlob& b = *lit;
|
||||
sqlite3_bind_blob(stm, b.index, b.data, b.length, free_blob);
|
||||
sqlite3_bind_blob(stm, b.index, b.data, b.length, NULL);
|
||||
}
|
||||
|
||||
uint32_t delta = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue