Fix SIGSEGV in db_stresS

This commit is contained in:
Igor Canadi 2014-11-08 13:01:31 -08:00
parent a4a2bfd6bd
commit 00211f9c5b

View file

@ -752,7 +752,7 @@ struct ThreadState {
Stats stats;
ThreadState(uint32_t index, SharedState* _shared)
: tid(index), rand(1000 + index + shared->GetSeed()), shared(_shared) {}
: tid(index), rand(1000 + index + _shared->GetSeed()), shared(_shared) {}
};
} // namespace