Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: hehechen <[email protected]>
  • Loading branch information
hehechen committed Jun 20, 2022
1 parent 5603e7d commit e1e15eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion dbms/src/Storages/Page/workload/MainEntry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ int StressWorkload::mainEntry(int argc, char ** argv)
void _work_load_register_named_HeavySkewWriteRead();
f = _work_load_register_named_HeavySkewWriteRead;
f();
;
void _work_load_register_named_HeavyWrite();
f = _work_load_register_named_HeavyWrite;
f();
Expand Down
2 changes: 1 addition & 1 deletion dbms/src/Storages/Page/workload/PSWorkload.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class StressWorkloadManger
};

#define REGISTER_WORKLOAD(WORKLOAD) \
void __attribute__((constructor)) _work_load_register_named_##WORKLOAD(void) \
void _work_load_register_named_##WORKLOAD(void) \
{ \
StressWorkloadManger::getInstance().reg( \
WORKLOAD::nameFunc(), \
Expand Down

0 comments on commit e1e15eb

Please sign in to comment.