Commit graph

76 commits

Author SHA1 Message Date
Yoni Fogel
001bc6f4c3 Addresses #1976 refs[t:1976] Add warnings for code hygiene that windows compiler requires.
Cleaned up code to remove warnings.

git-svn-id: file:///svn/toku/tokudb@14306 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:58:00 -04:00
Rich Prohaska
3ab3cbbfcc some progress on recovery close[t:1835]
git-svn-id: file:///svn/toku/tokudb@14112 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:59 -04:00
Yoni Fogel
bc9fd74c80 Merge 2.0.0 back into main
svn merge --accept=postpone -r 12123:12373 ../../mysql.branches/2.0.0/tokudb/

git-svn-id: file:///svn/toku/tokudb@12375 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:53 -04:00
Yoni Fogel
09f13fb815 addresses #1531 Make utils (check) works in windows
git-svn-id: file:///svn/toku/tokudb@11749 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:52 -04:00
Bradley C. Kuszmaul
1c2996546d Merge in [11215], Refs #1672. Consolidate tdiff. Fixes #1673.
git-svn-id: file:///svn/toku/tokudb@11217 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:48 -04:00
Yoni Fogel
526beea523 Addresses #1607 Static utilities now call initializers/destroyers. src/tests now use static utilities
git-svn-id: file:///svn/toku/tokudb@10662 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:46 -04:00
Yoni Fogel
522bd41792 Fix build due to windows porting
git-svn-id: file:///svn/toku/tokudb@10521 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:46 -04:00
Yoni Fogel
0844eec052 Addresses #1531 Removed -w option as a workaround for diffs
Windows utils/dump/etc will need to output the correct dos/unix endline format


git-svn-id: file:///svn/toku/tokudb@10495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:45 -04:00
Yoni Fogel
6737a3be2f Addresses #1531 Ported utils to windows
git-svn-id: file:///svn/toku/tokudb@10478 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:45 -04:00
Bradley C. Kuszmaul
dbc0a3bae5 Delete .dirty files (patch from 1510). Fixes #1564.
git-svn-id: file:///svn/toku/tokudb@10337 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:44 -04:00
Yoni Fogel
ae3694319e Ignore and split utils makefile to bdb and tdb
git-svn-id: file:///svn/toku/tokudb@9958 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:43 -04:00
Bradley C. Kuszmaul
5d9be4ddf1 Merge the simplified logging back to the main line, and get rid of the tokudb.1493a branch. Closes #1493.
git-svn-id: file:///svn/toku/tokudb@9719 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:42 -04:00
Yoni Fogel
f470a45bcf Revert "Addresses #1298"
This reverts commit 5fa57d593d531a7ddc2f59afa4b082da46b00bbf.

git-svn-id: file:///svn/toku/tokudb@9229 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -04:00
Yoni Fogel
566d68bfa5 Addresses #1298
make local (at top level) skips tests

git-svn-id: file:///svn/toku/tokudb@9227 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:40 -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
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
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
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
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
Yoni Fogel
afb0f26e3b Closes #1107
Added missing prereqs (static library) to statically linked programs

git-svn-id: file:///svn/tokudb@5730 c7de825b-a66e-492c-adef-691d508d4ae1
2008-08-18 19:58:47 +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
Bradley C. Kuszmaul
7828ced3a8 Finish up the pretty output. Fixes #811.
git-svn-id: file:///svn/tokudb@3926 c7de825b-a66e-492c-adef-691d508d4ae1
2008-05-13 02:35:50 +00:00
Bradley C. Kuszmaul
83d416fa09 Merge the 558 branch back to the main with
{{{
svn merge -r3061:3225 https://svn.tokutek.com/tokudb/tokudb.558
}}}

Fixes #630.
Addresses #558.


git-svn-id: file:///svn/tokudb@3226 c7de825b-a66e-492c-adef-691d508d4ae1
2008-04-02 23:40:36 +00:00
Rich Prohaska
07047bdfd0 rename libdb.so to libtokudb.so. closes #150
git-svn-id: file:///svn/tokudb@2230 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-10 03:50:15 +00:00
Yoni Fogel
2cb9fb2ebe Port to OSX for makefiles, easier to use OSX versions.
git-svn-id: file:///svn/tokudb@2229 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-10 02:39:08 +00:00
Rich Prohaska
dd061396ed added -DS flags to tokudb_gen to generate duplicates and dupsort header fields. closes #315
git-svn-id: file:///svn/tokudb@1939 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 16:35:02 +00:00
Rich Prohaska
162dcc529e tokudb_load now supports dupsort databases. we defer judgement on db flags until the db->open method is called. this allows incremental update of the flags.
closes #314


git-svn-id: file:///svn/tokudb@1938 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-28 14:27:28 +00:00
Rich Prohaska
afe29aba89 get tokudb_dump -s working
get tokudb_dump working with dupsort databases



git-svn-id: file:///svn/tokudb@1928 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-27 19:36:15 +00:00
Bradley C. Kuszmaul
9fe0391206 Add copyright 2008. Fixes #283.
git-svn-id: file:///svn/tokudb@1844 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-24 15:10:32 +00:00
Rich Prohaska
155a75874a add test-coverage target addresses #277
git-svn-id: file:///svn/tokudb@1767 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-21 14:03:46 +00:00
Rich Prohaska
345a341cd0 cleanup the gcov files. addresses #277
git-svn-id: file:///svn/tokudb@1732 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-18 16:05:11 +00:00
Rich Prohaska
63f80c0cd6 make build-coverage. addresses #277
git-svn-id: file:///svn/tokudb@1729 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-18 14:43:32 +00:00
Yoni Fogel
907df64d8b Closes #270
Closes #271
Bugfixes in tokudb_load:
Now supports -T (text) option along with other command line parameters
Now supports -T option without newline at end of file (i.e. last data item ends with end of file)


git-svn-id: file:///svn/tokudb@1651 c7de825b-a66e-492c-adef-691d508d4ae1
2008-01-14 20:13:30 +00:00
Yoni Fogel
7331e46492 Added DB_UNKNOWN to db.h
You can use DB_UNKNOWN as a dbtype (as long as you don't use DB_EXCL) in dbopen,
and then it will load the flags from the file.

tokudb_dump
    Now supports duplicates/sorted duplicates.
tokudb_load will give a warning about any duplicate duplicate loads
    but will continue with the rest of the data.

Closes #148
Closes #166

git-svn-id: file:///svn/tokudb@1086 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-11 19:34:21 +00:00
Yoni Fogel
5d4ed64c3e Used PRI macros to remove warnings in printf statements
Addresses #172

git-svn-id: file:///svn/tokudb@1082 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-11 17:28:38 +00:00
Yoni Fogel
2771c16130 Port to linux. Closes #172
git-svn-id: file:///svn/tokudb@1081 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-11 17:00:24 +00:00
Yoni Fogel
1b54221c1b Added -u option
Reordered options
Set default numkeys of 1024
Fixed usage()
Addresses #52


git-svn-id: file:///svn/tokudb@1058 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 22:33:38 +00:00
Yoni Fogel
bc5f641292 Removed old comment.
Fixed usage.
Addresses #149

git-svn-id: file:///svn/tokudb@1054 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 21:40:56 +00:00
Yoni Fogel
0324f47d2b Changed some ignored flags to unsupported
tokudb_load handles signals now.
Addresses #149

git-svn-id: file:///svn/tokudb@1052 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 21:37:06 +00:00
Yoni Fogel
99e2c4e167 Moved sending signals to after finishing cleanup.
Addresses #149

git-svn-id: file:///svn/tokudb@1051 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 21:32:38 +00:00
Yoni Fogel
21f8e1b3d3 reordered getopt args in tokudb_load.c
addresses #149

git-svn-id: file:///svn/tokudb@1050 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 21:19:21 +00:00
Yoni Fogel
b45c72995b Reordered getopt string and added missing T option
git-svn-id: file:///svn/tokudb@1049 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 21:15:21 +00:00
Yoni Fogel
e584e9b889 Removed 'pagesize' from tokudb_gen
Addresses #149

git-svn-id: file:///svn/tokudb@1048 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 21:02:09 +00:00
Yoni Fogel
b1e6d85b17 tokudb_dump handles signals without corrupting db
git-svn-id: file:///svn/tokudb@1045 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 20:51:27 +00:00
Yoni Fogel
2ef7951f09 Ported makefile to OSX
git-svn-id: file:///svn/tokudb@1044 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 20:51:16 +00:00
Yoni Fogel
55e7463390 Modified usage text
git-svn-id: file:///svn/tokudb@1042 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 19:44:29 +00:00
Yoni Fogel
0c42d5945f Re-ordered options
git-svn-id: file:///svn/tokudb@1041 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 19:42:02 +00:00
Yoni Fogel
ee6adf0998 NULL homedir is acceptable now.
git-svn-id: file:///svn/tokudb@1040 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-10 19:31:47 +00:00
Rich Prohaska
4e75ca728c build bins for tokudb and bdb. closes #147
git-svn-id: file:///svn/tokudb@1008 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-07 19:18:21 +00:00
Rich Prohaska
2127f452f7 use tokutek db.h to compile. addresses #147
git-svn-id: file:///svn/tokudb@1006 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-07 18:52:21 +00:00