MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / nextRow

Method nextRow

src/database/cppsqlite3.cpp:483–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481
482
483void CppSQLite3Query::nextRow()
484{
485 checkVM();
486
487 int nRet = sqlite3_step(mpVM);
488
489 if (nRet == SQLITE_DONE)
490 {
491 // no rows
492 mbEof = true;
493 }
494 else if (nRet == SQLITE_ROW)
495 {
496 // more rows, nothing to do
497 }
498 else
499 {
500 nRet = sqlite3_finalize(mpVM);
501 mpVM = 0;
502 const char* szError = sqlite3_errmsg(mpDB);
503 throw CppSQLite3Exception(nRet, szError);
504 }
505}
506
507
508void CppSQLite3Query::finalize()

Callers 15

sqlToTagDataArrayMethod · 0.80
sqlToStyleDataArrayMethod · 0.80
sqlToMetaDataArrayMethod · 0.80
sqlToStringArrayMethod · 0.80
initDocumentExFieldsMethod · 0.80
sqlToMessageDataArrayMethod · 0.80
sqlToBizUserDataArrayMethod · 0.80
getAllTagsMethod · 0.80

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected