]> git.sur5r.net Git - openldap/log
openldap
13 years agoWarning cleanup: Make parent index unsigned
Hallvard B Furuseth [Wed, 29 Jun 2011 18:48:48 +0000 (20:48 +0200)]
Warning cleanup: Make parent index unsigned

13 years agoWarning cleanup: printf(%p, struct*)
Hallvard B Furuseth [Wed, 29 Jun 2011 18:40:22 +0000 (20:40 +0200)]
Warning cleanup: printf(%p, struct*)

13 years agoWarning cleanup: if(rc = mdb_<func>()) & co
Hallvard B Furuseth [Wed, 29 Jun 2011 18:35:40 +0000 (20:35 +0200)]
Warning cleanup: if(rc = mdb_<func>()) & co

13 years agoWarning cleanup: Drop unneeded 'unsigned >= 0'
Hallvard B Furuseth [Wed, 29 Jun 2011 18:13:56 +0000 (20:13 +0200)]
Warning cleanup: Drop unneeded 'unsigned >= 0'

13 years agoFix P_INVALID signedness
Hallvard B Furuseth [Wed, 29 Jun 2011 18:09:31 +0000 (20:09 +0200)]
Fix P_INVALID signedness

13 years agoFix formats, reduce PAGEHDRSZ size_t->unsigned.
Hallvard B Furuseth [Wed, 29 Jun 2011 17:52:37 +0000 (19:52 +0200)]
Fix formats, reduce PAGEHDRSZ size_t->unsigned.

NUMKEYS was size_t due to PAGEHDRSZ; printing unsigned int is simpler.

Instead increase PAGEFILL to long, since it involves a multiply.
Possibly uint32_t or something would be sufficient.

13 years agoCompact memnrcmp, just for fun
Hallvard B Furuseth [Wed, 29 Jun 2011 17:17:31 +0000 (19:17 +0200)]
Compact memnrcmp, just for fun

13 years agoFix memncmp(): Do not memcmp twice
Hallvard B Furuseth [Wed, 29 Jun 2011 16:59:53 +0000 (18:59 +0200)]
Fix memncmp(): Do not memcmp twice

13 years agoDPRINTF(): Fix format, handle non-gcc, simplify.
Hallvard B Furuseth [Wed, 29 Jun 2011 16:47:08 +0000 (18:47 +0200)]
DPRINTF(): Fix format, handle non-gcc, simplify.

Add C99-required 1st parameter.  Disable for for non-gcc.  Simplify.
GNU extension #define DPRINTF(<no 1st arg>...) -> GNU ext ,##__VA_ARGS__.
Fix __LINE__ format %ld -> %d.

13 years agoMakefile
Hallvard B Furuseth [Wed, 29 Jun 2011 16:07:37 +0000 (18:07 +0200)]
Makefile

13 years ago.gitignore
Hallvard B Furuseth [Wed, 29 Jun 2011 16:01:42 +0000 (18:01 +0200)]
.gitignore

13 years agoMore cursor tests, fail...
Howard Chu [Wed, 29 Jun 2011 08:55:53 +0000 (01:55 -0700)]
More cursor tests, fail...

13 years agoSave a byte in nodesz
Howard Chu [Wed, 29 Jun 2011 08:55:07 +0000 (01:55 -0700)]
Save a byte in nodesz

13 years agometa init
Howard Chu [Wed, 29 Jun 2011 05:34:53 +0000 (22:34 -0700)]
meta init

13 years agoLog txnID in msgs
Howard Chu [Wed, 29 Jun 2011 05:05:54 +0000 (22:05 -0700)]
Log txnID in msgs

13 years agoUse toggling meta page instead of always appending
Howard Chu [Wed, 29 Jun 2011 01:40:52 +0000 (18:40 -0700)]
Use toggling meta page instead of always appending

13 years agoUse shmat for lock region instead of mmap
Howard Chu [Tue, 28 Jun 2011 21:22:22 +0000 (14:22 -0700)]
Use shmat for lock region instead of mmap

13 years agoAdd locking support
Howard Chu [Tue, 28 Jun 2011 20:46:48 +0000 (13:46 -0700)]
Add locking support

13 years agoFix P_INVALID def
Howard Chu [Tue, 28 Jun 2011 09:57:02 +0000 (02:57 -0700)]
Fix P_INVALID def

13 years agoCursor testing
Howard Chu [Tue, 28 Jun 2011 09:43:49 +0000 (02:43 -0700)]
Cursor testing

13 years agoFix splits, cursor navigation, newpage flags
Howard Chu [Tue, 28 Jun 2011 09:40:46 +0000 (02:40 -0700)]
Fix splits, cursor navigation, newpage flags

13 years agoReturn statistics for a DB
Howard Chu [Tue, 28 Jun 2011 07:16:05 +0000 (00:16 -0700)]
Return statistics for a DB

Eventually this will have to grow up to be like BDB db_stat...

13 years agoUse NOSYNC flag
Howard Chu [Tue, 28 Jun 2011 07:15:40 +0000 (00:15 -0700)]
Use NOSYNC flag

13 years agoUse header when some fields are unspecified
Howard Chu [Tue, 28 Jun 2011 07:15:15 +0000 (00:15 -0700)]
Use header when some fields are unspecified

13 years agoCheckpoint
Howard Chu [Tue, 28 Jun 2011 05:39:24 +0000 (22:39 -0700)]
Checkpoint