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

Method compile

src/database/cppsqlite3.cpp:916–931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914
915
916sqlite3_stmt* CppSQLite3DB::compile(const CString& strSQL)
917{
918 checkDB();
919
920 const void* szTail=0;
921 sqlite3_stmt* pVM;
922
923 int nRet = sqlite3_prepare16(mpDB, strSQL, -1, &pVM, &szTail);
924
925 if (nRet != SQLITE_OK)
926 {
927 throw CppSQLite3Exception(nRet, (const unsigned short*)szTail);
928 }
929
930 return pVM;
931}
932
933
934int CppSQLite3DB::updateBlob(const CString& szTableName, const CString& szFieldName, const unsigned char* data, int dataLength, const CString& szWhere)

Callers 9

bump_fileFunction · 0.80
bump_conanfileFunction · 0.80
bump_wizdefFunction · 0.80
is_qt_pluginFunction · 0.80
is_qt_libFunction · 0.80
is_brew_libFunction · 0.80
normalize_qtplugin_nameFunction · 0.80
normalize_qtlib_nameFunction · 0.80
normalize_brew_nameFunction · 0.80

Calls 1

CppSQLite3ExceptionClass · 0.85

Tested by

no test coverage detected