This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
Contemporary_DMS.ZHOU_Xuan.2021Fall.DaSE
/
Project2
Watch
5
Star
1
Fork
1
Code
Issues
1
Pull Requests
1
Releases
0
Wiki
Activity
Browse Source
修正负载生成
pull/1/head
李云帆
2 years ago
parent
7ceebc8d83
commit
8b8415b320
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
fe/bench/workload.py
+ 1
- 1
fe/bench/workload.py
View File
@ -84,7 +84,7 @@ class Workload:
assert
code
==
200
self
.
store_ids
.
append
(
store_id
)
row_no
=
0
self
.
book_ids
[
store_id
]
=
[
]
while
row_no
<
self
.
book_num_per_store
:
books
=
self
.
book_db
.
get_book_info
(
row_no
,
self
.
batch_size
)
if
len
(
books
)
==
0
:
Write
Preview
Loading…
Cancel
Save