| 799 | } |
| 800 | |
| 801 | void ODBCStatement::GetRowCount(SQLLEN* row_count_ptr) { |
| 802 | if (!row_count_ptr) { |
| 803 | // row count pointer is not valid, do nothing as ODBC spec does not mention this as an |
| 804 | // error |
| 805 | return; |
| 806 | } |
| 807 | // Will always be -1 (meaning number of rows unknown) since only SELECT is supported by |
| 808 | // driver |
| 809 | *row_count_ptr = -1; |
| 810 | } |
| 811 | |
| 812 | void ODBCStatement::ReleaseStatement() { |
| 813 | CloseCursor(true); |