Yoni Fogel
ee2351986d
Removed warnings.
...
git-svn-id: file:///svn/tokudb@2762 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:48:54 +00:00
Yoni Fogel
7299745f97
Removed warnings.
...
git-svn-id: file:///svn/tokudb@2761 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 17:48:24 +00:00
Bradley C. Kuszmaul
072c3c2f5e
Make {{{PROF_FLAGS=-pg}}} cause static linking to happen for {{{db-benchmark-test-tokudb}}}. Addresses #515 .
...
git-svn-id: file:///svn/tokudb@2756 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 08:36:02 +00:00
Bradley C. Kuszmaul
4ea09248a3
All the makefiles should honor {{{PROF_FLAGS}}}. Make db-benchmark-test statically linkable by removing the conflict with {{{toku_fill_dbt}}}. Although gprof still doesn't work with dynamically linked libraries, we can statically link it and get useful info. Closes #515 .
...
git-svn-id: file:///svn/tokudb@2755 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-12 08:30:49 +00:00
Bradley C. Kuszmaul
7c4eabe86f
Create log-test5.c
...
git-svn-id: file:///svn/tokudb@2743 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 19:55:04 +00:00
Bradley C. Kuszmaul
e672f87aa9
Add log-test4.c. Addresses #484 .
...
git-svn-id: file:///svn/tokudb@2742 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:58:36 +00:00
Bradley C. Kuszmaul
7469a733d2
Create log-test3.c
...
git-svn-id: file:///svn/tokudb@2741 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:55:42 +00:00
Bradley C. Kuszmaul
92b5b72fe8
Update log-test to work better and test some logging as unit tests. Addresses #484 .
...
git-svn-id: file:///svn/tokudb@2740 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:51:36 +00:00
Bradley C. Kuszmaul
c7461dd3a9
Update log-test to work better and test some logging as unit tests. Addresses #484 .
...
git-svn-id: file:///svn/tokudb@2739 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 18:51:26 +00:00
Yoni Fogel
42d88c4ec2
Removed memory leak in a test (tests fault).
...
git-svn-id: file:///svn/tokudb@2737 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:46:16 +00:00
Yoni Fogel
af0a5a1315
MOdification to makefiles.
...
git-svn-id: file:///svn/tokudb@2736 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:43:21 +00:00
Yoni Fogel
3304ff05ae
Closes #513
...
Integrated tlogn lock tree into tokudb.
git-svn-id: file:///svn/tokudb@2735 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:37:06 +00:00
Bradley C. Kuszmaul
30689f39e8
Add log-test to the regression tests
...
git-svn-id: file:///svn/tokudb@2733 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 17:23:14 +00:00
Yoni Fogel
ca5e5b0b40
Working on getting new range tree library
...
git-svn-id: file:///svn/tokudb@2732 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 16:09:03 +00:00
Yoni Fogel
9a958751ba
Modified makefiles for inclusion of redblack
...
git-svn-id: file:///svn/tokudb@2729 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:53:39 +00:00
Yoni Fogel
db92f134e5
Addresses #479
...
Adding dynamic library for redblack tree.
git-svn-id: file:///svn/tokudb@2728 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:50:15 +00:00
Yoni Fogel
550fff4e7f
addresses #479
...
change makefiles to support tlog versions of rangetree and lock tree
git-svn-id: file:///svn/tokudb@2727 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:31:23 +00:00
Yoni Fogel
d1a6ea8526
addresses #479
...
port remaining range_tree tests (45,47) to NOOVERLAPS
git-svn-id: file:///svn/tokudb@2724 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:15:26 +00:00
Yoni Fogel
925b37c63a
addresses #479
...
port test 42 to NOOVERLAPS
git-svn-id: file:///svn/tokudb@2723 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:12:15 +00:00
Yoni Fogel
1dcb791503
addresses #479
...
add to test 40, and ported it to nooverlaps
have makefile run tlog by default
git-svn-id: file:///svn/tokudb@2722 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 15:10:12 +00:00
Yoni Fogel
69069ad8ab
addresses #479 make test 30 work with tlog range tree
...
git-svn-id: file:///svn/tokudb@2719 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 14:12:34 +00:00
Yoni Fogel
19894d4947
addresses #479 fix test 25 to work with
...
git-svn-id: file:///svn/tokudb@2718 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 14:07:29 +00:00
Yoni Fogel
f9210302b1
address #479 changed input parameter in several functions to avoid getting EINVAL returned
...
git-svn-id: file:///svn/tokudb@2717 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-11 14:01:28 +00:00
Yoni Fogel
d72ee04469
Addresses #479
...
Fixed some tests for tlogn range trees.
git-svn-id: file:///svn/tokudb@2708 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 23:52:00 +00:00
Yoni Fogel
9ac4686ef6
Addresses #479
...
Implementation of range tree wrapper for red black tree.
git-svn-id: file:///svn/tokudb@2706 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 23:46:45 +00:00
Yoni Fogel
b3257f9019
git-svn-id: file:///svn/tokudb@2703 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 21:11:03 +00:00
Yoni Fogel
7ebfaad062
git-svn-id: file:///svn/tokudb@2702 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 21:07:49 +00:00
Yoni Fogel
23e7afb8d2
git-svn-id: file:///svn/tokudb@2701 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 21:07:35 +00:00
Yoni Fogel
631b933389
Renamed files
...
git-svn-id: file:///svn/tokudb@2700 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 21:05:29 +00:00
Yoni Fogel
d6f553ede6
Addresses #479
...
Modified tokuredblack to be more readable, support user malloc functions
git-svn-id: file:///svn/tokudb@2699 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 21:03:24 +00:00
Yoni Fogel
2950fda3d7
Addresses #479
...
Initial version of generated redblack library for range trees.
git-svn-id: file:///svn/tokudb@2698 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 20:14:43 +00:00
Yoni Fogel
bfaaba586f
addresses #479 , missing inline keyword
...
git-svn-id: file:///svn/tokudb@2697 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 20:13:02 +00:00
Yoni Fogel
476269ca55
Addresses #479
...
Modified instructions inside of log_nooverlap.c
to optimally implement everything using the modified reblack API
git-svn-id: file:///svn/tokudb@2675 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-10 00:14:07 +00:00
Bradley C. Kuszmaul
ee7e40709d
groupcommit sort of passes helgrind. helgrind is flakey. Addresses #496 .
...
git-svn-id: file:///svn/tokudb@2669 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-09 16:53:42 +00:00
Bradley C. Kuszmaul
7997c793d1
Implement {{{db_env_set_func_fsync}}} and write a test that can discern the use of group commit. Fixes #499 , #496 .
...
git-svn-id: file:///svn/tokudb@2655 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-09 02:39:37 +00:00
Bradley C. Kuszmaul
ff674a7fb9
Add {{{db_env_set_func_fsync}}}. Addresses #499 .
...
git-svn-id: file:///svn/tokudb@2650 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 21:29:27 +00:00
Bradley C. Kuszmaul
07d77ae582
Build a performance test for groupcommit. I don't know how to automate checking to see if it passed though. Addresses #496 .
...
git-svn-id: file:///svn/tokudb@2649 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 21:00:24 +00:00
Bradley C. Kuszmaul
04a61d98d5
set_lg_max is ipmlemented, tested, and documented. Fixes #79 .
...
git-svn-id: file:///svn/tokudb@2645 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 13:02:32 +00:00
Bradley C. Kuszmaul
b7bafe0a2a
The logs are sometimes slightly larger than the log max, so this bug isn't quite fixed. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2644 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 12:30:48 +00:00
Bradley C. Kuszmaul
12c2cc73f9
change DIR to ENVDIR in src/tests. Fixes #492 .
...
git-svn-id: file:///svn/tokudb@2643 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 12:18:19 +00:00
Bradley C. Kuszmaul
9f28cd26b2
Invoke set_lg_max in a couple of different sizes. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2642 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-08 11:53:33 +00:00
Yoni Fogel
7b84d27f27
Addresses #479
...
toku_rt_super_create now checks the ptree from its caller is not NULL
git-svn-id: file:///svn/tokudb@2632 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 23:04:09 +00:00
Yoni Fogel
220cadc295
Addresses #479
...
Initial version of range tree wrapper for redblacklib
This includes some notes, but nothing is really implemented.
The customized redblacklib does not yet exist for this.
git-svn-id: file:///svn/tokudb@2631 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 22:58:10 +00:00
Yoni Fogel
ddf39c0a0b
Standardized 'static inline' to be the default
...
(We had both inline static and static inline
git-svn-id: file:///svn/tokudb@2629 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 21:24:03 +00:00
Yoni Fogel
6d855c4f88
Addresses #479
...
Abstract the range tree to support multiple internal representations.
The shared portions are in rangetree-internal.h
git-svn-id: file:///svn/tokudb@2628 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 21:19:11 +00:00
Bradley C. Kuszmaul
374529389d
Add {{{set_lg_max()}}} and {{{get_lg_max}}}. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2627 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 21:03:06 +00:00
Bradley C. Kuszmaul
8df253ad08
Add h files. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2626 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:58:04 +00:00
Bradley C. Kuszmaul
5b8eb1bdb7
compute 32-bit offsets for {{{set_lg_max}}} and {{{get_lg_max}}}. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2624 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:57:13 +00:00
Yoni Fogel
e6e8a736be
Closes #466
...
All function names that started with __toku_ now start with
toku__
We no longer have function symbols that start with '__'
git-svn-id: file:///svn/tokudb@2623 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:11:27 +00:00
Bradley C. Kuszmaul
4af7f162dc
compute 32-bit offsets for {{{set_lg_max}}} and {{{get_lg_max}}}. Addresses #79 .
...
git-svn-id: file:///svn/tokudb@2622 c7de825b-a66e-492c-adef-691d508d4ae1
2008-03-07 20:10:21 +00:00