Rich Prohaska
20aaedd550
icc make lock_tree with -Werror. addresses #1185
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6408 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:20 -04:00
Rich Prohaska
8a9c0f01f3
icc make lock_tree with -Werror. addresses #1185
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6406 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:20 -04:00
Bradley C. Kuszmaul
10ba8ccd81
Get rid of many icc warnings. Addresses #1185 .
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6397 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:20 -04:00
Rich Prohaska
cb93aed2c6
compile with both gcc and icc. addresses #1185
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6394 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:20 -04:00
Bradley C. Kuszmaul
465b7c289c
Get rid of many icc warnings. Addresses #1185 .
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6391 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:20 -04:00
Bradley C. Kuszmaul
057e91983d
Get rid of many icc warnings. Addresses #1185 .
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6390 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:20 -04:00
Rich Prohaska
2e6e59dd82
compile the lock_tree with icc. addresses #1185
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6388 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:20 -04:00
Rich Prohaska
c1b8cc718e
remove nested functions to compile with icc. addresses #1185
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6367 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:19 -04:00
Rich Prohaska
abd7a99014
build the .so. addresses #1185
...
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6366 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:19 -04:00
Rich Prohaska
bf7ed9d920
addresses #1172
...
git-svn-id: file:///svn/tokudb.1131b+1080a@6258 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Rich Prohaska
89e65b0f50
test case for bug 1172. addresses #1172
...
git-svn-id: file:///svn/tokudb.1131b+1080a@6256 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:18 -04:00
Bradley C. Kuszmaul
504deac9cc
Forgot {{{-lpthread}}}. Addresses #1131 .
...
git-svn-id: file:///svn/tokudb.1131b@5989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
ce6b171044
Merge the multihreaded writer changes as
...
{{{
svn merge -r 5899:5987 https://svn.tokutek.com/tokudb/tokudb
}}}
and resolve the conflicts.
git-svn-id: file:///svn/tokudb.1131b@5988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
2cb10197bf
Add compress supresssion for valgrind. Addresses #1131 .
...
git-svn-id: file:///svn/tokudb.1131@5956 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:17 -04:00
Bradley C. Kuszmaul
430aa86333
Add -lz. Addresses #1131 .
...
git-svn-id: file:///svn/tokudb.1131@5954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04:00
Bradley C. Kuszmaul
abda370325
Add -lz. Addresses #1131 .
...
git-svn-id: file:///svn/tokudb.1131@5953 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:16 -04:00
Yoni Fogel
c0920cb16e
Addresses #1121
...
Fixes bugs (memory leak) found in delboth test.
Also, DB_DELETE_ANY only ignores 'DB_NOTFOUND' error. Any other error will be reported.
git-svn-id: file:///svn/tokudb@5887 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-28 17:17:34 +00:00
Yoni Fogel
a7adc7df4f
Addresses #1121
...
Made test for DB->delboth faster.
Removed pagesize (which messed with maximum node size)
git-svn-id: file:///svn/tokudb@5886 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-28 17:15:09 +00:00
Yoni Fogel
66ad23e948
Closes #1121
...
Tests for DB->delboth
git-svn-id: file:///svn/tokudb@5884 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-28 16:08:29 +00:00
Yoni Fogel
e6a61598d3
Addresses #1032
...
Native windows locking replaces ydb_lock and ydb_unlock for CYGWIN only
git-svn-id: file:///svn/tokudb@5853 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-26 18:10:06 +00:00
Yoni Fogel
f0493df403
Addresses #1108
...
Added test that fails due to this bug.
git-svn-id: file:///svn/tokudb@5734 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 20:40:30 +00:00
Yoni Fogel
3fd5437709
Cleaned up test_txn_nested_abort[23].c
...
git-svn-id: file:///svn/tokudb@5733 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 20:16:48 +00:00
Yoni Fogel
2b95605f67
Cleaned up test_txn_nested_abort[23].c
...
git-svn-id: file:///svn/tokudb@5731 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 20:09:35 +00:00
Yoni Fogel
aeded2f184
Closes #1106
...
Uses instead of make.
This helps if make is aliased
git-svn-id: file:///svn/tokudb@5729 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 19:53:39 +00:00
Yoni Fogel
f299e81cc1
Addresses #1093
...
Nested transactions not done child first:
parent will still finish (abort) if the child has an error in committing or aborting.
git-svn-id: file:///svn/tokudb@5721 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 16:16:14 +00:00
Yoni Fogel
fb16825e1b
Addresses #182
...
UPdated prelocking support for delboth
git-svn-id: file:///svn/tokudb@5720 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 16:01:54 +00:00
Yoni Fogel
acef51171a
Addresses #173 , #182
...
First implementation (slow) of db->delboth
Does not yet support associated tables.
git-svn-id: file:///svn/tokudb@5701 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 04:04:55 +00:00
Zardosht Kasheff
37e722de22
addresses #1093
...
another test that exposes a problem
git-svn-id: file:///svn/tokudb@5676 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 19:45:17 +00:00
Yoni Fogel
fee8e88257
Addresses #1093
...
Workaround for nested transactions not aborting correctly.
Needs to be replaced with a better version.
git-svn-id: file:///svn/tokudb@5675 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 17:43:37 +00:00
Yoni Fogel
4811a42042
Closes #1098
...
Reduce overhead of subtransactions
git-svn-id: file:///svn/tokudb@5674 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-15 17:07:44 +00:00
Zardosht Kasheff
c9d01632f8
addresses #1093
...
test exposing problem
git-svn-id: file:///svn/tokudb@5646 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-13 17:30:17 +00:00
Yoni Fogel
8a5abb1b83
Addresses #1079
...
Final changes to make DB_TXN->parent public.
git-svn-id: file:///svn/tokudb@5619 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-12 13:44:58 +00:00
Yoni Fogel
234f2649d4
Closes #1062
...
Fix cases in the c_getf_* functions where we were retrieving a key DBT instead of a val.
git-svn-id: file:///svn/tokudb@5454 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-31 16:15:02 +00:00
Yoni Fogel
094475f72b
Closes #1060
...
Implemented c_getf_(first,last)
git-svn-id: file:///svn/tokudb@5434 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-30 15:26:52 +00:00
Yoni Fogel
180152abf1
Closes #1055
...
Implement DBC->c_getf_prev
git-svn-id: file:///svn/tokudb@5418 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-29 20:10:23 +00:00
Rich Prohaska
13ccc0f386
this test depends on virtual time which does not exists. closes #1049
...
git-svn-id: file:///svn/tokudb@5397 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 19:56:04 +00:00
Yoni Fogel
dabf9fcb06
Closes #1050
...
Implemented c_getf_next_dup
git-svn-id: file:///svn/tokudb@5389 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 18:19:07 +00:00
Yoni Fogel
0ac518ea4f
Closes #1048
...
Replaced 'test_thread_stack.%' in rules with '$<', which refers to the first
prerequisite listed.
This fixes the nondeterministic nature of this test failing (for reasons
of being unable to find the binary).
git-svn-id: file:///svn/tokudb@5387 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 17:59:51 +00:00
Yoni Fogel
df1c7a9379
Addresses #903
...
Created function that peeks at both key and value at the same time
(to avoid repeated OMT calls).
This was worth 4-5% performance in scanscan --lwc --prelock --prelockflag
git-svn-id: file:///svn/tokudb@5386 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 17:55:14 +00:00
Yoni Fogel
b5d3b778d6
Addresses #903
...
Speed up light weight cursors.
Instead of asking the brt to use 'copyout' (by passing key and/or val pointers)
we pass in NULLs to brt_cursor_get.
We then later use the peek_current functions to obtain pointers to the current
key and val of the cursor.
That was worth ~22% reduction in time for scanscan --lwc --prelock --prelockflag
Also, now copyout quits immediately if both key and val are NULL
This increased the (total) value of the patch to ~30% reduction in time.
git-svn-id: file:///svn/tokudb@5383 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-28 16:19:59 +00:00
Bradley C. Kuszmaul
9b7fdbcfd0
Convert from crc to x1764. Fixes #1021 .
...
git-svn-id: file:///svn/tokudb@5363 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-27 22:16:49 +00:00
Rich Prohaska
e21db3b0e6
add a in memory trace log with processor timestamps. closes #1042
...
git-svn-id: file:///svn/tokudb@5318 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 21:23:40 +00:00
Rich Prohaska
9a801f6fc6
fix the regressions error on 4.4. addresses #968
...
git-svn-id: file:///svn/tokudb@5307 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-24 12:16:57 +00:00
Yoni Fogel
31aa0af04e
Addresses #1040
...
Moved a couple of functions out of the critical path for the common case (only needed for uncommon case)
git-svn-id: file:///svn/tokudb@5298 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 23:01:13 +00:00
Bradley C. Kuszmaul
9db51893c9
test944a has a memory leak. Fix it. Addresses #944 .
...
git-svn-id: file:///svn/tokudb@5277 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 04:46:58 +00:00
Bradley C. Kuszmaul
5c3ec7de12
Revert the murmur checksum. Addresses #1021 .
...
{{{
svn merge https://svn.tokutek.com/tokudb/tokudb.1021@5184 https://svn.tokutek.com/tokudb/tokudb.1021@5107
}}}
and fix a simple conflict.
git-svn-id: file:///svn/tokudb@5275 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-23 03:47:05 +00:00
Bradley C. Kuszmaul
71cb765433
Merge in the branch fix the rollback merging into the parent. Fixes #1035 .
...
{{{
svn merge -r5259:5270 https://svn.tokutek.com/tokudb/tokudb.1035
}}}
git-svn-id: file:///svn/tokudb@5272 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-22 23:25:07 +00:00
Bradley C. Kuszmaul
95e8ac768f
Fiddle with the error code for truncate under bdb. Addresses #968 .
...
git-svn-id: file:///svn/tokudb@5269 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-22 21:42:22 +00:00
Rich Prohaska
4b78cca417
fix the bdb truncate with cursors test. addresses #968
...
git-svn-id: file:///svn/tokudb@5244 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 19:30:30 +00:00
Yoni Fogel
6ccb067147
Addresses #1032
...
Standardize unsigned ints:
uint8_t -> u_int8_t
uint32_t -> u_int32_t
uint64_t ->u_int64_t
Windows seems to differentiate between the two, linux does not.
git-svn-id: file:///svn/tokudb@5239 c7de825b-a66e-492c-adef-691d508d4ae1
2008-07-21 18:00:38 +00:00