added additional debug info in rsgenexchange

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-09-20 19:58:07 +00:00
parent e18c934e21
commit b1dc8912c7
4 changed files with 148 additions and 50 deletions

View file

@ -600,7 +600,6 @@ bool RetroCursor::moveToLast(){
return true;
}
}
int RetroCursor::getResultCount() const {
if(isOpen())
@ -608,6 +607,13 @@ int RetroCursor::getResultCount() const {
else
return -1;
}
int RetroCursor::columnCount() const {
if(isOpen())
return sqlite3_data_count(mStmt);
else
return -1;
}
bool RetroCursor::isOpen() const {
return !(mStmt == NULL);

View file

@ -239,6 +239,7 @@ public:
*/
int32_t getResultCount() const;
int32_t columnCount() const ;
/*!
* Current statement is closed and discarded (finalised)
* before actual opening occurs