| 914 | |
| 915 | |
| 916 | sqlite3_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 | |
| 934 | int CppSQLite3DB::updateBlob(const CString& szTableName, const CString& szFieldName, const unsigned char* data, int dataLength, const CString& szWhere) |
no test coverage detected