Site
Gitweb
Static
projects
/
eros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926151a
)
Verify tool: fix cursor reuse bug
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Fri, 22 Apr 2022 06:17:33 +0000
(
01:17
-0500)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Fri, 22 Apr 2022 06:17:33 +0000
(
01:17
-0500)
disk_jumble/src/disk_jumble/verify.py
patch
|
blob
|
history
diff --git
a/disk_jumble/src/disk_jumble/verify.py
b/disk_jumble/src/disk_jumble/verify.py
index c52ebbbd8110134eaf7be978b8d8ac97097be9fb..4cd7939b5aa0f701ffb4417bffd6e54f5e721838 100644
(file)
--- a/
disk_jumble/src/disk_jumble/verify.py
+++ b/
disk_jumble/src/disk_jumble/verify.py
@@
-129,6
+129,7
@@
def _get_v1_worklist(conn, disk_id: int, target_ranges: List[NumericRange]) -> L
assert i.piece_length % BLOCK_SIZE == 0, f"entity {i.id.hex()} has invalid piece length"
runs = []
+ cursor = conn.cursor()
for info in infos:
cursor.execute(
"""