Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mysql/mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ int mysql_backend__write(git_oid *oid, git_odb_backend *_backend, const void *da
return GIT_ERROR;

// reset the statement for further use
if (mysql_stmt_reset(backend->st_read_header) != 0)
if (mysql_stmt_reset(backend->st_write) != 0)
return GIT_ERROR;

return GIT_SUCCESS;
Expand Down