Skip to content

Commit adde07d

Browse files
committed
remove oid calculate from write
1 parent f84adc3 commit adde07d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mysql/mysql.c

-3
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,6 @@ int mysql_backend__write(git_odb_backend *_backend, const git_oid *oid, const vo
246246

247247
backend = (mysql_backend *)_backend;
248248

249-
if ((error = git_odb_hash(oid, data, len, type)) < 0)
250-
return error;
251-
252249
memset(bind_buffers, 0, sizeof(bind_buffers));
253250

254251
// bind the oid

0 commit comments

Comments
 (0)