forked from LBRYCommunity/lbry-sdk
fix get_pending_blobs_for_stream
This commit is contained in:
parent
96e30984c1
commit
f07e696c31
1 changed files with 3 additions and 2 deletions
|
@ -444,8 +444,9 @@ class SQLiteStorage(object):
|
||||||
|
|
||||||
def get_pending_blobs_for_stream(self, stream_hash):
|
def get_pending_blobs_for_stream(self, stream_hash):
|
||||||
return self.run_and_return_list(
|
return self.run_and_return_list(
|
||||||
"select s.blob_hash from stream_blob s where stream_hash=? "
|
"select s.blob_hash from stream_blob s "
|
||||||
"inner join blob b on b.blob_hash=s.blob_hash and b.status='pending'",
|
"inner join blob b on b.blob_hash=s.blob_hash and b.status='pending' "
|
||||||
|
"where stream_hash=?",
|
||||||
stream_hash
|
stream_hash
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue