| 141 | } |
| 142 | |
| 143 | static int stmt_cache_finalize_entry(stmt_cache_entry_t *entry) |
| 144 | { |
| 145 | sqlite3_finalize(entry->stmt); |
| 146 | if (entry->qd_func && entry->stmt_data) { |
| 147 | entry->qd_func(NULL, &entry->stmt_data, NULL, QUERY_STMT_DATA, |
| 148 | QUERY_DATA_DELETE); |
| 149 | } |
| 150 | stmt_cache_free_entry(entry); |
| 151 | return 0; |
| 152 | } |
| 153 | |
| 154 | static int stmt_cache_delete_last_entry(stmt_cache_t *stmt_cache, void *list) |
| 155 | { |
no test coverage detected