mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
lock init with set_lk_max_locks. closes #371
git-svn-id: file:///svn/tokudb@2224 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
@@ -59,6 +59,9 @@ void setup (void) {
|
||||
assert(r==0);
|
||||
}
|
||||
#endif
|
||||
r = dbenv->set_lk_max_locks(ITEMS_PER_TRANSACTION*2);
|
||||
assert(r == 0);
|
||||
|
||||
if (cachesize) {
|
||||
r = dbenv->set_cachesize(cachesize / (1024*1024*1024), cachesize % (1024*1024*1024), 1);
|
||||
if (r != 0)
|
||||
|
||||
Reference in New Issue
Block a user