This function should be called only if you don't get all the rows * till the end. It is safe to call anyway. */
| 119 | /* This function should be called only if you don't get all the rows |
| 120 | * till the end. It is safe to call anyway. */ |
| 121 | void sqlEnd(sqlRow *row) { |
| 122 | if (row->stmt == NULL) return; |
| 123 | xfree(row->col); |
| 124 | sqlite3_finalize(row->stmt); |
| 125 | row->col = NULL; |
| 126 | row->stmt = NULL; |
| 127 | } |
| 128 | |
| 129 | /* After sqlGenericQuery() returns SQLITE_ROW, you can call this function |
| 130 | * with the 'row' object pointer in order to get the rows composing the |
no test coverage detected