Skip to content

Commit

Permalink
fixed a bug related to graphite simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangyao Yu committed Jul 1, 2018
1 parent 3bb4db1 commit 4cb819a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.o
*.d
9 changes: 1 addition & 8 deletions benchmarks/ycsb_wl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ int ycsb_wl::next_tid;
RC ycsb_wl::init() {
workload::init();
next_tid = 0;
char * cpath = getenv("GRAPHITE_HOME");
string path;
if (cpath == NULL)
path = "./benchmarks/YCSB_schema.txt";
else {
path = string(cpath);
path += "/tests/apps/dbms/YCSB_schema.txt";
}
string path = "./benchmarks/YCSB_schema.txt";
init_schema( path );

init_table_parallel();
Expand Down

0 comments on commit 4cb819a

Please sign in to comment.