| 369 | } |
| 370 | |
| 371 | int CppSQLite3Query::getColumnLength(int nField) |
| 372 | { |
| 373 | checkVM(); |
| 374 | |
| 375 | if (nField < 0 || nField > mnCols-1) |
| 376 | { |
| 377 | throw CppSQLite3Exception(CPPSQLITE_ERROR, "Invalid field index requested"); |
| 378 | } |
| 379 | |
| 380 | int nLen = sqlite3_column_bytes(mpVM, nField); |
| 381 | // |
| 382 | return nLen; |
| 383 | } |
| 384 | const unsigned char* CppSQLite3Query::getBlobField(int nField, int& nLen) |
| 385 | { |
| 386 | checkVM(); |
nothing calls this directly
no test coverage detected