1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-03 05:41:09 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Yoni Fogel
1954d2ca8f Closes #567
Merge all of ticket 567 into trunk

git-svn-id: file:///svn/tokudb@3134 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-27 16:26:15 +00:00
Yoni Fogel
9e20ec534d Addresses #553
Fixes memory leak (just in test) of locktree managers.

git-svn-id: file:///svn/tokudb@2950 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-19 17:26:35 +00:00
Yoni Fogel
58515a507b Closes 551
'Lock tree manager' object created to hold data shared by all lock trees
i.e. Current number of locks (per env) and max locks (per env)
Uses functions to change max_locks.
Added tests for lock tree manager.


git-svn-id: file:///svn/tokudb@2948 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-19 17:07:22 +00:00
Yoni Fogel
33715e6478 closes #549
git-svn-id: file:///svn/tokudb@2903 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-17 20:58:32 +00:00
Yoni Fogel
834cc7892b Addresses #293 Addresses #307
Addresses #337
Makefile modifications, test modifications,
Lock tree is better integraded with db.

git-svn-id: file:///svn/tokudb@2126 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-06 17:23:38 +00:00
Vincenzo Liberatore
3a39aebe1f Addresses #337
Fixes the tests with a bound on the number of ranges, and fixes a bug
in lock tree unlock

git-svn-id: file:///svn/tokudb@2125 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-06 17:11:12 +00:00
Vincenzo Liberatore
57009d09e6 Addresses #337
Modify test cases to support lock bound

git-svn-id: file:///svn/tokudb@2106 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 22:40:05 +00:00
Yoni Fogel
0577b98ac7 Addresses #307
Additional tests.
Code coverage of non-write stuff is complete except for asserts and error cases.
We have not yet checked branch coverage.

git-svn-id: file:///svn/tokudb@1973 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 21:35:31 +00:00
Yoni Fogel
28ce4a3b4e Addresses #293
Addresses #307

Locktree now accepts max memory parameter.
This counts only 'toku_points' and payloads.
Whenever it goes over the allowed memory, it will return ENOMEM as
BDB does.

Tests were only updated to compile correctly (and return EINVAL
if max size is 0).
Tests do not yet test whether the max memory system works.

git-svn-id: file:///svn/tokudb@1954 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-30 03:09:50 +00:00
Yoni Fogel
907ca3199f Addresses #307
Fixed uninitialized variable bug in a test.

git-svn-id: file:///svn/tokudb@1878 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 15:08:13 +00:00
Yoni Fogel
80a723c9a6 Addresses #307
Added additional EINVAL/EDOM tests.
Modified createclose to help check for memory leak and more cases.

git-svn-id: file:///svn/tokudb@1865 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 02:28:46 +00:00
Yoni Fogel
8a7e87a179 renamed file
git-svn-id: file:///svn/tokudb@1862 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-25 01:39:52 +00:00