bug fix, str should be cleared of previous data to

prevent fall through of previous result

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2014-04-20 09:12:26 +00:00
parent ed198af807
commit 5573fcc672

View File

@ -716,6 +716,7 @@ double RetroCursor::getDouble(int columnIndex){
}
void RetroCursor::getString(int columnIndex, std::string &str){
str.clear();
char* raw_str = (char*)sqlite3_column_text(mStmt, columnIndex);
if(raw_str != NULL)
{