forked from LBRYCommunity/lbry-sdk
add missing space on query, typo
This commit is contained in:
parent
c9c2495611
commit
cb78e95e3d
2 changed files with 1 additions and 2 deletions
|
@ -449,7 +449,7 @@ class SQLiteStorage(SQLiteMixin):
|
||||||
return await self.db.execute_fetchall(
|
return await self.db.execute_fetchall(
|
||||||
"select blob.blob_hash, blob.blob_length, blob.added_on "
|
"select blob.blob_hash, blob.blob_length, blob.added_on "
|
||||||
"from blob left join stream_blob using (blob_hash) "
|
"from blob left join stream_blob using (blob_hash) "
|
||||||
"where stream_blob.stream_hash is null and blob.is_mine=?"
|
"where stream_blob.stream_hash is null and blob.is_mine=? "
|
||||||
"order by blob.blob_length desc, blob.added_on asc",
|
"order by blob.blob_length desc, blob.added_on asc",
|
||||||
(is_mine,)
|
(is_mine,)
|
||||||
)
|
)
|
||||||
|
|
|
@ -580,7 +580,6 @@ class DiskSpaceManagement(CommandTestCase):
|
||||||
self.assertLess(0, await self.daemon.storage.run_and_return_one_or_none("select min(added_on) from blob"))
|
self.assertLess(0, await self.daemon.storage.run_and_return_one_or_none("select min(added_on) from blob"))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class TestBackgroundDownloaderComponent(CommandTestCase):
|
class TestBackgroundDownloaderComponent(CommandTestCase):
|
||||||
async def get_blobs_from_sd_blob(self, sd_blob):
|
async def get_blobs_from_sd_blob(self, sd_blob):
|
||||||
descriptor = await StreamDescriptor.from_stream_descriptor_blob(
|
descriptor = await StreamDescriptor.from_stream_descriptor_blob(
|
||||||
|
|
Loading…
Reference in a new issue