Yoni Fogel
5bd0a17aa9
Addresses #1032 , #1343
...
Fix up (some of the) windows compilation issues during merge of 1032b to main
git-svn-id: file:///svn/toku/tokudb@8688 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:37 -04:00
Bradley C. Kuszmaul
2f856f7d29
Candidate fix for #1374 (wrong db.h include file for BDB versions of code.) Addresses #1374 .
...
git-svn-id: file:///svn/toku/tokudb@8667 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:37 -04:00
Rich Prohaska
be70861bf3
fix the data races in toku_malloc and toku_free. closes #1369
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8620 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:35 -04:00
Bradley C. Kuszmaul
0dfc3aa50d
Some fixes for recovery ( #1364 ). Also some temporary fixes for #1277 . Addresses #1364 , #1277 .
...
Delete the 1364 branch, so I can restart it.
On the 1343 branch, I did:
{{{
svn merge -r 8586:8595 https://svn.tokutek.com/tokudb/toku/tokudb.1032b+1343+1364
}}}
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8596 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:35 -04:00
Bradley C. Kuszmaul
141ef2eaa5
Clean up the MAYBEATSIGN and verbosity stuff. Fixes #1365 .
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8573 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Bradley C. Kuszmaul
fe0a157971
Cleaned up. Note that some stuff moved into the windows directory with symlinks from linux (since I know that symlinks work in linux, but maybe not in windows.) Addresses #1348 .
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8560 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Bradley C. Kuszmaul
017d4f8cc3
Separate out the common malloc into newbrt/memory.c, and put the os-specific stuff into windows and linux subdirs. Things are broken. Addresses #1343 .
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8559 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Bradley C. Kuszmaul
0adc9f9bd8
Separate out the common malloc into newbrt/memory.c, and put the os-specific stuff into windows and linux subdirs. Addresses #1343 .
...
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8558 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Bradley C. Kuszmaul
f66b523f89
Merge all stuff from source:tokudb/toku/tokudb.1032 since the creation of this branch at [8452] to the present [8556], as
...
{{{
svn merge -r 8452:8556 https://svn.tokutek.com/tokudb/toku/tokudb.1032b/
}}}
And resolve conflicts.
It compiles, and we'll see if it runs.
Addresses #1032 , #1343 .
git-svn-id: file:///svn/toku/tokudb.1032b+1343@8557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:34 -04:00
Rich Prohaska
3962a69628
move toku_malloc to portability layer. addresses #1342
...
git-svn-id: file:///svn/toku/tokudb.1032b@8425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:32 -04:00
Rich Prohaska
6fdbf9bf15
move toku_malloc to the port layer. closes #1342
...
git-svn-id: file:///svn/toku/tokudb.1032b@8423 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:32 -04:00
Rich Prohaska
d1ecf12476
disable the mutex_init assert as we init mutexes from uninitialized memory sometimes. addresses #1328
...
git-svn-id: file:///svn/toku/tokudb.1032b@8403 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:32 -04:00
Yoni Fogel
3ac6ee8ce7
Closes #1338
...
windows pthread mutexes now require real initialization before use
git-svn-id: file:///svn/toku/tokudb.1032b@8400 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:32 -04:00
Yoni Fogel
bee27669f7
Addresses #1321
...
Fixed bug from [8370], reimplemented native windows calls
git-svn-id: file:///svn/toku/tokudb.1032b@8376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Yoni Fogel
555bf488ea
Addresses #1321
...
Reopens ticket.
Cannot get handles (from _get_osfhandle) to work with ReadFile or WriteFile
git-svn-id: file:///svn/toku/tokudb.1032b@8373 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Yoni Fogel
cff224eeb4
Addresses #1321
...
Fixed some compile errors.
git-svn-id: file:///svn/toku/tokudb.1032b@8370 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Yoni Fogel
9730184db9
Closes #1321
...
pread/pwrite now threadsafe and do not modify file pointer
git-svn-id: file:///svn/toku/tokudb.1032b@8369 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Yoni Fogel
1916540130
Addresses #1032
...
Replaced windows portability functions with better (native) windows calls
git-svn-id: file:///svn/toku/tokudb.1032b@8297 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:31 -04:00
Yoni Fogel
cfb07b7d5d
Addresses #1307
...
fstat calls replaced with toku_os calls.
fstat deprecated everywhere except the 'linux' portability directory
git-svn-id: file:///svn/toku/tokudb.1032b@8264 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Rich Prohaska
2a1e0d1618
refactor the windows portability code. addresses #1269
...
git-svn-id: file:///svn/toku/tokudb.1032b@8109 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Rich Prohaska
624b9272c4
use libtokuportability. closes #1269
...
git-svn-id: file:///svn/toku/tokudb.1032b@8076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Rich Prohaska
269e95e473
port perfnotes to windows. addresses #1246
...
git-svn-id: file:///svn/toku/tokudb.1032b@8073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Rich Prohaska
236adb1bd0
port perfnotes to windows. addresses #1246
...
git-svn-id: file:///svn/toku/tokudb.1032b@8054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:30 -04:00
Rich Prohaska
755bb35712
port perfnotes to windows. addresses #1246
...
git-svn-id: file:///svn/toku/tokudb.1032b@8046 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Rich Prohaska
5c0c7b04ed
port perfnotes to windows addresses #1246
...
git-svn-id: file:///svn/toku/tokudb.1032b@8023 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Rich Prohaska
f7f5b89c2f
port perfnotes to windows. addresses #1246
...
git-svn-id: file:///svn/toku/tokudb.1032b@8021 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Zardosht Kasheff
ed472f23c8
addresses #1268
...
fix construct_full_name so that absolute windows paths do not get modified
git-svn-id: file:///svn/toku/tokudb.1032b@8019 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Rich Prohaska
c5cdf8f895
fixup some portability include files. addresses #1269
...
git-svn-id: file:///svn/toku/tokudb.1032b@8018 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Rich Prohaska
4f46b25a02
rename to toku_portability.h addresses #1269
...
git-svn-id: file:///svn/toku/tokudb.1032b@7952 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Rich Prohaska
d0ffa10e6b
compile on windows addresses #1253
...
git-svn-id: file:///svn/toku/tokudb.1032b@7847 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:29 -04:00
Rich Prohaska
50452c02e8
compile on windows addresses #1253
...
git-svn-id: file:///svn/toku/tokudb.1032b@7843 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:28 -04:00
Rich Prohaska
6ebe124875
imp toku_os_ closes #1253
...
git-svn-id: file:///svn/toku/tokudb.1032b@7837 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:28 -04:00
Rich Prohaska
6258817caf
fix some icc linux problems. addresses #1032
...
git-svn-id: file:///svn/toku/tokudb.1032b@7836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:28 -04:00
Rich Prohaska
9581c5c539
merge 1032 src/tests to 1032b. addresses #1032
...
git-svn-id: file:///svn/toku/tokudb.1032b@7835 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:28 -04:00
Rich Prohaska
0d44815bf5
merge some tokudb.1032 into 1032b. addresses #1032
...
git-svn-id: file:///svn/toku/tokudb.1032b@7778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:27 -04:00