Commit graph

43 commits

Author SHA1 Message Date
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
Rich Prohaska
34dba08d89 create static bins by linking with libdb.a. addresses #55
git-svn-id: file:///svn/tokudb@961 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-06 13:54:26 +00:00
Rich Prohaska
b970af1bcd strip libs and utils. addresses #74
git-svn-id: file:///svn/tokudb@919 c7de825b-a66e-492c-adef-691d508d4ae1
2007-12-04 16:36:25 +00:00
Bradley C. Kuszmaul
a0db362844 Add copyrights using #ident in the utils dir. Closes #54.
git-svn-id: file:///svn/tokudb@821 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-29 14:29:22 +00:00
Yoni Fogel
1874eb48c9 Removed execute permissions from source files
git-svn-id: file:///svn/tokudb@799 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 17:23:09 +00:00
Rich Prohaska
f32c1f3196 addresses #49
git-svn-id: file:///svn/tokudb@789 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-28 15:38:54 +00:00
Yoni Fogel
15552fec29 Removed unneeded file.
git-svn-id: file:///svn/tokudb@640 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-19 15:49:43 +00:00
Bradley C. Kuszmaul
a01d700adf Update
git-svn-id: file:///svn/tokudb@521 c7de825b-a66e-492c-adef-691d508d4ae1
2007-11-14 18:00:48 +00:00
Yoni Fogel
83d94d2718 Commented out some portions of db_load/dump
that are not yet compatible with tokudb.

Provided a fix for tokudb bug 43.

git-svn-id: file:///svn/tokudb@480 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 01:54:47 +00:00
Yoni Fogel
2f28e2b7d6 db_load/gen/dump project done until tokudb.bugs issues are worked on.
git-svn-id: file:///svn/tokudb@479 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-17 01:24:30 +00:00
Yoni Fogel
e215a35f09 Preliminary db_dump.
Ouputs without transactions, does not dump a header.

git-svn-id: file:///svn/tokudb@441 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 18:01:43 +00:00
Yoni Fogel
dc4f6e5fe2 Modifications to be compatible with tokudb
git-svn-id: file:///svn/tokudb@439 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-11 16:39:46 +00:00
Yoni Fogel
2986216c99 All malloced memory is freed before quitting.
git-svn-id: file:///svn/tokudb@432 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-10 17:05:31 +00:00
Yoni Fogel
3f2e1f88e2 db_load with initial test.
git-svn-id: file:///svn/tokudb@417 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-09 16:24:05 +00:00
Yoni Fogel
a5ac066308 End of day, complete with comments
git-svn-id: file:///svn/tokudb@395 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 19:53:14 +00:00
Yoni Fogel
50bd83f274 tokudb.load with most functionality, still untested.
git-svn-id: file:///svn/tokudb@394 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 17:38:27 +00:00
Yoni Fogel
10530b2fe0 Fixed some errors in the header
git-svn-id: file:///svn/tokudb@393 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-04 16:21:30 +00:00
Yoni Fogel
8dcc66423f Extracted strto* wrappers to common header.
git-svn-id: file:///svn/tokudb@381 c7de825b-a66e-492c-adef-691d508d4ae1
2007-10-02 14:53:06 +00:00
Yoni Fogel
02a0496152 Fixed typo for include file
git-svn-id: file:///svn/tokudb@339 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-22 00:28:50 +00:00
Yoni Fogel
3f51140047 Minor compatibility fixes.
git-svn-id: file:///svn/tokudb@338 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-22 00:28:31 +00:00
Yoni Fogel
4afad29c38 Cleaned up code,
made integer ranges be half open (at max),


git-svn-id: file:///svn/tokudb@337 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 23:33:40 +00:00
Yoni Fogel
c17fdae90b Renamed ydb->tokudb
git-svn-id: file:///svn/tokudb@336 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-21 21:48:11 +00:00
Yoni Fogel
377a0688d7 Finished for the night.. may not compile or work.
git-svn-id: file:///svn/tokudb@328 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-20 20:15:14 +00:00
Yoni Fogel
b094399609 Cleaned up tests.
git-svn-id: file:///svn/tokudb@322 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-19 15:24:20 +00:00
Rich Prohaska
1cc81f5c98 port to linux fedora 6 i386
git-svn-id: file:///svn/tokudb@320 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-18 20:38:47 +00:00
Yoni Fogel
e5497364c1 Random data generator.
make test will run a test on it.
The test works currently but is very ugly.


git-svn-id: file:///svn/tokudb@313 c7de825b-a66e-492c-adef-691d508d4ae1
2007-09-15 00:24:48 +00:00
Bradley C. Kuszmaul
2f8ec84fb8 Rename
git-svn-id: file:///svn/tokudb@4 c7de825b-a66e-492c-adef-691d508d4ae1
2007-07-13 19:37:47 +00:00