| 634 | |
| 635 | |
| 636 | void CppSQLite3Statement::bind(int nParam, const char* szValue) |
| 637 | { |
| 638 | checkVM(); |
| 639 | int nRes = sqlite3_bind_text(mpVM, nParam, szValue, -1, SQLITE_TRANSIENT); |
| 640 | |
| 641 | if (nRes != SQLITE_OK) |
| 642 | { |
| 643 | throw CppSQLite3Exception(nRes, "Error binding string param"); |
| 644 | } |
| 645 | } |
| 646 | |
| 647 | |
| 648 | void CppSQLite3Statement::bind(int nParam, const int nValue) |
no test coverage detected