mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
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:
parent
e18c934e21
commit
b1dc8912c7
4 changed files with 148 additions and 50 deletions
|
@ -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);
|
||||
|
|
|
@ -239,6 +239,7 @@ public:
|
|||
*/
|
||||
int32_t getResultCount() const;
|
||||
|
||||
int32_t columnCount() const ;
|
||||
/*!
|
||||
* Current statement is closed and discarded (finalised)
|
||||
* before actual opening occurs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue