| 774 | |
| 775 | |
| 776 | void CppSQLite3DB::open(const CString& strFile) |
| 777 | { |
| 778 | int nRet = sqlite3_open16(strFile.utf16(), &mpDB); |
| 779 | |
| 780 | if (nRet != SQLITE_OK) |
| 781 | { |
| 782 | const char* szError = sqlite3_errmsg(mpDB); |
| 783 | throw CppSQLite3Exception(nRet, szError); |
| 784 | } |
| 785 | |
| 786 | setBusyTimeout(mnBusyTimeoutMs); |
| 787 | } |
| 788 | |
| 789 | |
| 790 | void CppSQLite3DB::close() |
no test coverage detected