]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
4 years agoReturn to RE
Quanah Gibson-Mount [Mon, 26 Oct 2020 19:03:01 +0000 (19:03 +0000)] 
Return to RE

4 years agoPrepare for release (0.9.27) LMDB_0.9.27
Quanah Gibson-Mount [Mon, 26 Oct 2020 19:00:40 +0000 (19:00 +0000)] 
Prepare for release (0.9.27)

4 years agoITS#9376
Howard Chu [Fri, 23 Oct 2020 19:38:14 +0000 (20:38 +0100)] 
ITS#9376

4 years agoITS#9376 Fixes for repeated deletes with xcursor
Howard Chu [Wed, 21 Oct 2020 20:24:53 +0000 (21:24 +0100)] 
ITS#9376 Fixes for repeated deletes with xcursor

On DUPSORT DBs, must initialize xcursor regardless of whether
caller requested its data. Also in cursor_prev must check whether
cursor index is still within range before using it.

4 years agoReturn to engineering
Quanah Gibson-Mount [Wed, 12 Aug 2020 05:03:38 +0000 (05:03 +0000)] 
Return to engineering

4 years agoRelease 0.9.26 LMDB_0.9.26
Quanah Gibson-Mount [Tue, 11 Aug 2020 18:24:07 +0000 (18:24 +0000)] 
Release 0.9.26

5 years agoITS#9278
Quanah Gibson-Mount [Thu, 23 Jul 2020 21:35:36 +0000 (21:35 +0000)] 
ITS#9278

5 years agoSilence stupid fallthru warning
Howard Chu [Tue, 16 Jun 2020 18:57:41 +0000 (19:57 +0100)] 
Silence stupid fallthru warning

5 years agoITS#9278 fix robust mutex cleanup for FreeBSD
Howard Chu [Tue, 16 Jun 2020 18:56:16 +0000 (19:56 +0100)] 
ITS#9278 fix robust mutex cleanup for FreeBSD

FreeBSD 11 supports robust process-shared POSIX mutexes,
but requires them to be explicitly destroyed before munmap

5 years agoReturn to engineering
Quanah Gibson-Mount [Thu, 30 Jan 2020 18:14:31 +0000 (18:14 +0000)] 
Return to engineering

5 years agoRelease 0.9.25 LMDB_0.9.25
Quanah Gibson-Mount [Thu, 30 Jan 2020 17:57:13 +0000 (17:57 +0000)] 
Release 0.9.25

5 years agoITS#9155
Howard Chu [Thu, 23 Jan 2020 14:52:50 +0000 (14:52 +0000)] 
ITS#9155

5 years agoITS#9155 lmdb: free mt_spill_pgs in non-nested txn on end
Howard Chu [Thu, 23 Jan 2020 14:50:00 +0000 (14:50 +0000)] 
ITS#9155 lmdb: free mt_spill_pgs in non-nested txn on end

5 years agoHappy New Year!
Quanah Gibson-Mount [Thu, 9 Jan 2020 16:32:20 +0000 (16:32 +0000)] 
Happy New Year!

5 years agoITS#9118 - Fix typo in prev commit
Quanah Gibson-Mount [Fri, 22 Nov 2019 14:36:38 +0000 (14:36 +0000)] 
ITS#9118 - Fix typo in prev commit

5 years agoITS#9118
Howard Chu [Thu, 21 Nov 2019 20:45:11 +0000 (20:45 +0000)] 
ITS#9118

5 years agoITS#9118 add MAP_NOSYNC for FreeBSD
Howard Chu [Thu, 21 Nov 2019 20:44:37 +0000 (20:44 +0000)] 
ITS#9118 add MAP_NOSYNC for FreeBSD

5 years agoreturn to release engineering, ITS#9068
Howard Chu [Mon, 26 Aug 2019 16:56:17 +0000 (17:56 +0100)] 
return to release engineering, ITS#9068

5 years agoITS#9068 fix backslash escaping
Howard Chu [Mon, 26 Aug 2019 16:51:53 +0000 (17:51 +0100)] 
ITS#9068 fix backslash escaping

mdb_load wasn't properly inserting escaped backslashes into the data.
mdb_dump wasn't escaping backslashes when generating printable output.

6 years agoRelease 0.9.24 LMDB_0.9.24
Howard Chu [Fri, 19 Jul 2019 16:41:12 +0000 (17:41 +0100)] 
Release 0.9.24

6 years agoITS#9007
Howard Chu [Tue, 16 Apr 2019 09:35:50 +0000 (10:35 +0100)] 
ITS#9007

6 years agoITS#9007 don't free loose writemap pages
Kris Zyp [Tue, 16 Apr 2019 02:07:56 +0000 (20:07 -0600)] 
ITS#9007 don't free loose writemap pages

Broken in ITS#8756

6 years agoITS#8975
Howard Chu [Sun, 10 Feb 2019 10:13:10 +0000 (10:13 +0000)] 
ITS#8975

6 years agoITS#8975 WIN32: Skip setting file pointer for write maps
Kris Zyp [Wed, 6 Feb 2019 20:49:27 +0000 (13:49 -0700)] 
ITS#8975 WIN32: Skip setting file pointer for write maps

CreateFileMapping already takes care of it.

6 years agoITS#8969
Howard Chu [Thu, 31 Jan 2019 00:22:50 +0000 (00:22 +0000)] 
ITS#8969

6 years agoITS#8969 tweak mdb_page_split
Howard Chu [Wed, 30 Jan 2019 23:43:34 +0000 (23:43 +0000)] 
ITS#8969 tweak mdb_page_split

Bump up number of keys for which we use fine-grained splitpoint search

6 years agoHappy New Year
Howard Chu [Mon, 14 Jan 2019 19:06:20 +0000 (19:06 +0000)] 
Happy New Year

6 years agoHappy New Year!
Quanah Gibson-Mount [Mon, 14 Jan 2019 18:40:15 +0000 (18:40 +0000)] 
Happy New Year!

6 years agoReturn to engineering
Quanah Gibson-Mount [Wed, 19 Dec 2018 16:52:12 +0000 (16:52 +0000)] 
Return to engineering

6 years agoRelease 0.9.23 LMDB_0.9.23
Quanah Gibson-Mount [Wed, 19 Dec 2018 15:51:03 +0000 (15:51 +0000)] 
Release 0.9.23

6 years agoITS#8857 mdb_cursor_del
Howard Chu [Mon, 10 Sep 2018 18:06:45 +0000 (19:06 +0100)] 
ITS#8857 mdb_cursor_del

6 years agoITS#8857 document mdb_cursor_del does not invalidate the cursor
moneromooo-monero [Tue, 15 May 2018 09:53:13 +0000 (10:53 +0100)] 
ITS#8857 document mdb_cursor_del does not invalidate the cursor

6 years agoFix ITS#8756, 8831, 8844, 8908
Howard Chu [Mon, 10 Sep 2018 15:24:51 +0000 (16:24 +0100)] 
Fix ITS#8756, 8831, 8844, 8908

6 years agoITS#8908 DOC: GET_MULTIPLE etc don't return the key
Howard Chu [Wed, 29 Aug 2018 00:25:01 +0000 (01:25 +0100)] 
ITS#8908 DOC: GET_MULTIPLE etc don't return the key

Unnecessary since these are DUPs, the key will always be the same

6 years agoITS#8756 remove loose pg from dirty list in freelist_save
Howard Chu [Fri, 22 Jun 2018 15:30:13 +0000 (16:30 +0100)] 
ITS#8756 remove loose pg from dirty list in freelist_save

6 years agoITS#8831 move flag init into readhdr
Howard Chu [Mon, 2 Apr 2018 17:01:19 +0000 (18:01 +0100)] 
ITS#8831 move flag init into readhdr

Avoid stomping on flags from 1st readhr invocation

7 years agoITS#8844 use getpid() in mdb_env_close0()
Howard Chu [Wed, 2 May 2018 16:05:29 +0000 (17:05 +0100)] 
ITS#8844 use getpid() in mdb_env_close0()

7 years agoReturn to engineering
Quanah Gibson-Mount [Thu, 22 Mar 2018 19:13:11 +0000 (19:13 +0000)] 
Return to engineering

7 years agoUpdate release date LMDB_0.9.22
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:23:05 +0000 (15:23 +0000)] 
Update release date

7 years agoHappy New Year
Quanah Gibson-Mount [Thu, 22 Mar 2018 15:20:57 +0000 (15:20 +0000)] 
Happy New Year

7 years agoRelease 0.9.22
Howard Chu [Wed, 21 Mar 2018 22:50:02 +0000 (22:50 +0000)] 
Release 0.9.22

7 years agoITS#8819 can't use fakepage mp_ptrs directly
Howard Chu [Tue, 20 Mar 2018 18:34:56 +0000 (18:34 +0000)] 
ITS#8819 can't use fakepage mp_ptrs directly

7 years agoITS#8722
Quanah Gibson-Mount [Sun, 11 Feb 2018 21:02:05 +0000 (21:02 +0000)] 
ITS#8722

7 years agoTweak ITS#8722 fix: Use XCURSOR_REFRESH()
Hallvard Furuseth [Sun, 10 Sep 2017 22:00:14 +0000 (00:00 +0200)] 
Tweak ITS#8722 fix: Use XCURSOR_REFRESH()

This checks XCURSOR_INITED() and fixes the mn_flags check.

7 years agoXCURSOR_REFRESH() fixups/cleanup
Hallvard Furuseth [Sun, 10 Sep 2017 21:59:35 +0000 (23:59 +0200)] 
XCURSOR_REFRESH() fixups/cleanup

* Check NUMKEYS(), similar to f34b61f9471d1c03fe0517b9d817c50c920e378a
  "ITS#8722 fix FIRST_DUP/LAST_DUP cursor bounds check".
* Move XCURSOR_INITED() into XCURSOR_REFRESH().  This adds a check in
  mdb_cursor_put, below /* converted, write the original data first */.
* Factor mc_ki[] out to XCURSOR_REFRESH().
* Replace an mc_pg[] with mp which is equal (mdb_cursor_del0).

7 years agoITS#8722 fix FIRST_DUP/LAST_DUP cursor bounds check
Howard Chu [Wed, 6 Sep 2017 20:15:48 +0000 (21:15 +0100)] 
ITS#8722 fix FIRST_DUP/LAST_DUP cursor bounds check

7 years agoITS#8622
Quanah Gibson-Mount [Sun, 11 Feb 2018 20:58:54 +0000 (20:58 +0000)] 
ITS#8622

7 years agoITS#8699 more for cursor_del ITS#8622
Howard Chu [Wed, 26 Jul 2017 20:37:40 +0000 (21:37 +0100)] 
ITS#8699 more for cursor_del ITS#8622

Set C_DEL flag on reinit'd subcursor

7 years agoFix ITS location
Quanah Gibson-Mount [Fri, 9 Feb 2018 19:00:38 +0000 (19:00 +0000)] 
Fix ITS location

7 years agoITS#8760
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:47:21 +0000 (18:47 +0000)] 
ITS#8760

7 years agoITS#8760 fix regression in 0.9.19
Howard Chu [Thu, 26 Oct 2017 18:04:37 +0000 (19:04 +0100)] 
ITS#8760 fix regression in 0.9.19

7 years agoITS#8612
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:46:06 +0000 (18:46 +0000)] 
ITS#8612

7 years agoITS#8612 Fix Solaris builds with liblmdb
Quanah Gibson-Mount [Wed, 7 Jun 2017 20:42:51 +0000 (13:42 -0700)] 
ITS#8612 Fix Solaris builds with liblmdb

This patch fixes liblmdb builds on Solaris and derivatives by defining
_POSIX_PTHREAD_SEMANTICS

7 years ago0.9.22 engineering
Quanah Gibson-Mount [Fri, 9 Feb 2018 18:45:20 +0000 (18:45 +0000)] 
0.9.22 engineering

8 years agoRelease 0.9.21 LMDB_0.9.21
Howard Chu [Thu, 1 Jun 2017 16:51:10 +0000 (17:51 +0100)] 
Release 0.9.21

8 years agoITS#8622 fix xcursor after cursor_del
Howard Chu [Thu, 23 Mar 2017 20:37:24 +0000 (20:37 +0000)] 
ITS#8622 fix xcursor after cursor_del

Re-fix 6b1df0e4c7fadd21d1233d7157229b2d89ccaa04 from ITS#8406

8 years agoFurther fix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b
Howard Chu [Sat, 14 Jan 2017 19:22:34 +0000 (19:22 +0000)] 
Further fix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b

Fully revert the change to GET_MULTIPLE

8 years ago0.9.20 still baking
Howard Chu [Thu, 12 Jan 2017 13:36:35 +0000 (13:36 +0000)] 
0.9.20 still baking

8 years agoFix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b
Howard Chu [Thu, 12 Jan 2017 13:35:31 +0000 (13:35 +0000)] 
Fix f8ce8a82717ddefdc912fa47c07f1bdee2a3336b

GET_MULTIPLE was broken

8 years agoRelease 0.9.20 LMDB_0.9.20
Howard Chu [Wed, 11 Jan 2017 16:19:33 +0000 (16:19 +0000)] 
Release 0.9.20

8 years agoHappy New Year
Howard Chu [Wed, 11 Jan 2017 14:39:08 +0000 (14:39 +0000)] 
Happy New Year

8 years agoITS#8557
Howard Chu [Wed, 11 Jan 2017 11:23:26 +0000 (11:23 +0000)] 
ITS#8557

8 years agoTweak cursor_next C_EOF check
Howard Chu [Wed, 11 Jan 2017 10:33:28 +0000 (10:33 +0000)] 
Tweak cursor_next C_EOF check

Allow C_EOF flag to be stale

8 years agoITS#8557 fix mdb_cursor_last
Howard Chu [Wed, 11 Jan 2017 09:51:43 +0000 (09:51 +0000)] 
ITS#8557 fix mdb_cursor_last

Optimize mdb_page_search_root(PS_LAST) when cursor is already near
last position, ignoring C_EOF flag for now.

8 years agoRE 0.9.20
Howard Chu [Fri, 6 Jan 2017 19:50:36 +0000 (19:50 +0000)] 
RE 0.9.20

8 years agoITS#8558 fix mdb_load with escaped plaintext
Howard Chu [Fri, 6 Jan 2017 19:48:58 +0000 (19:48 +0000)] 
ITS#8558 fix mdb_load with escaped plaintext

8 years agoRelease 0.9.19 LMDB_0.9.19
Howard Chu [Wed, 28 Dec 2016 18:35:05 +0000 (18:35 +0000)] 
Release 0.9.19

8 years agoITS#8554
Howard Chu [Wed, 28 Dec 2016 18:33:10 +0000 (18:33 +0000)] 
ITS#8554

8 years agoITS#8554 kFreeBSD is like BSD
Howard Chu [Wed, 28 Dec 2016 18:32:14 +0000 (18:32 +0000)] 
ITS#8554 kFreeBSD is like BSD

Doesn't have POSIX robust mutexes - GNU userland on BSD kernel

8 years agoMore MDB_node doc
Hallvard Furuseth [Wed, 21 Dec 2016 20:40:14 +0000 (21:40 +0100)] 
More MDB_node doc

8 years agoDoxygen fixes. Use DISTRIBUTE_GROUP_DOC.
Hallvard Furuseth [Wed, 21 Dec 2016 15:33:47 +0000 (16:33 +0100)] 
Doxygen fixes. Use DISTRIBUTE_GROUP_DOC.

- DISTRIBUTE_GROUP_DOC makes doxygen give several fields the
  same doc: mn_hi + mn_lo in MDB_node.
- With mdb_mutex_t + mdb_mutexref_t, instead split them up.

8 years agoMore 0.9.19 updates
Howard Chu [Wed, 21 Dec 2016 13:02:00 +0000 (13:02 +0000)] 
More 0.9.19 updates

8 years agoITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE
Hallvard Furuseth [Thu, 20 Oct 2016 07:51:22 +0000 (09:51 +0200)] 
ITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE

Never clear mc_error, we could lose a failure in the other thread.

8 years agoITS#8504 mdb_env_copyfd2(): Don't abort on SIGPIPE
Lorenz Bauer [Thu, 20 Oct 2016 07:51:22 +0000 (09:51 +0200)] 
ITS#8504 mdb_env_copyfd2(): Don't abort on SIGPIPE

Return EPIPE instead.

8 years agoITS#8542 mdb_dbi_open(): Protect mainDB cursors
Hallvard Furuseth [Tue, 13 Dec 2016 23:23:01 +0000 (00:23 +0100)] 
ITS#8542 mdb_dbi_open(): Protect mainDB cursors

8 years agodoxygen cleanup
Hallvard Furuseth [Wed, 7 Dec 2016 18:04:19 +0000 (19:04 +0100)] 
doxygen cleanup

8 years agoNote functions which must set MDB_TXN_ERROR on failure
Hallvard Furuseth [Wed, 7 Dec 2016 17:55:21 +0000 (18:55 +0100)] 
Note functions which must set MDB_TXN_ERROR on failure

Other functions depend on them to do so.
For mdb_node_read(), instead remove such a dependence.

8 years agoOnly set me_mfd if needed. Drop unused read access.
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:45 +0000 (07:03 +0200)] 
Only set me_mfd if needed. Drop unused read access.

8 years agoITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl.
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:42 +0000 (07:03 +0200)] 
ITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl.

8 years agoITS#8505 Protect parent from fork()-pthread_exit()
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:40 +0000 (07:03 +0200)] 
ITS#8505 Protect parent from fork()-pthread_exit()

8 years agoITS#8505 Set FD_CLOEXEC for me_mfd,env_copy as well
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:38 +0000 (07:03 +0200)] 
ITS#8505 Set FD_CLOEXEC for me_mfd,env_copy as well

8 years agoMove opening files to mdb_fopen()
Hallvard Furuseth [Tue, 27 Sep 2016 05:03:34 +0000 (07:03 +0200)] 
Move opening files to mdb_fopen()

No change in functionality.

8 years agoFactor filename handling out to mdb_fname_*()
Hallvard Furuseth [Sat, 17 Sep 2016 19:31:04 +0000 (21:31 +0200)] 
Factor filename handling out to mdb_fname_*()

No change in functionality, except needs less mallocing.

8 years agoITS#7992 Tighter utf8_to_utf16(), fix errcodes
Hallvard Furuseth [Tue, 6 Sep 2016 16:12:01 +0000 (18:12 +0200)] 
ITS#7992 Tighter utf8_to_utf16(), fix errcodes

The 0xFFFD check seems due to misleading MultiByteToWideChar() doc.
Bad UTF-8 gives 0xFFFD in the output string, not the return value.

8 years agoClean up strange fcntl result check
Hallvard Furuseth [Tue, 6 Sep 2016 15:56:13 +0000 (17:56 +0200)] 
Clean up strange fcntl result check

...and check !MDB_CLOEXEC in an 'if' rather than '#if'
to match its non-zero usage.

8 years agoDrop spurious Errcode() call
Hallvard Furuseth [Tue, 6 Sep 2016 15:48:31 +0000 (17:48 +0200)] 
Drop spurious Errcode() call

8 years agoITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT
Hallvard Furuseth [Tue, 6 Sep 2016 15:41:02 +0000 (17:41 +0200)] 
ITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT

We can run without F_NOCACHE if it fails. And we do not know
what combining it with O_DIRECT means, if a system has both.

8 years agoITS#8489 reset cursor EOF flag in cursor_set
Howard Chu [Wed, 31 Aug 2016 23:41:35 +0000 (00:41 +0100)] 
ITS#8489 reset cursor EOF flag in cursor_set

It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.

8 years agoClean up MDB_USE_ROBUST #defines
Hallvard Furuseth [Sun, 21 Aug 2016 21:22:18 +0000 (23:22 +0200)] 
Clean up MDB_USE_ROBUST #defines

Make explicit and default nonzero equivalent. Parenthesize.

8 years agoFix mdb_page_list() message
Hallvard Furuseth [Sun, 21 Aug 2016 21:20:22 +0000 (23:20 +0200)] 
Fix mdb_page_list() message

8 years agoFix mdb_audit() printf format
Howard Chu [Sat, 19 Dec 2015 23:51:31 +0000 (23:51 +0000)] 
Fix mdb_audit() printf format

8 years agoITS#8481 make shared lib suffix overridable
Howard Chu [Fri, 19 Aug 2016 16:24:25 +0000 (17:24 +0100)] 
ITS#8481 make shared lib suffix overridable

8 years agoComment MDB_page
Hallvard Furuseth [Tue, 2 Aug 2016 20:17:54 +0000 (22:17 +0200)] 
Comment MDB_page

8 years agoDoc fixes: VALID_FLAGS, mm_last_pg, mt_loose_count
Hallvard Furuseth [Tue, 2 Aug 2016 20:16:09 +0000 (22:16 +0200)] 
Doc fixes: VALID_FLAGS, mm_last_pg, mt_loose_count

8 years agoSilence warning for initializer "mdb_copy my = {0}"
Hallvard Furuseth [Sat, 3 Sep 2016 07:41:30 +0000 (09:41 +0200)] 
Silence warning for initializer "mdb_copy my = {0}"

1st struct member was not a scalar.

8 years agoITS#8209 MDB_CP_COMPACT: Handle empty or broken DB
Hallvard Furuseth [Sat, 25 Jun 2016 05:57:04 +0000 (07:57 +0200)] 
ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB

Preserve DB flags (use metapage#1) when main DB is empty.
Fail if metapage root != actual root in output file.

8 years agoITS#8209 MDB_CP_COMPACT: Threading/error handling
Hallvard Furuseth [Sat, 25 Jun 2016 05:55:34 +0000 (07:55 +0200)] 
ITS#8209 MDB_CP_COMPACT: Threading/error handling

Handle errors.  Fix cond_wait condition so mc_new
is the sole control var.  Drop specious cond_waits.
Do not look at 'mo' while copythr writes it.

Don't know if posix_memalign() pointer is defined after failure.
Some _aligned_free() doc seems to say arg NULL = user error.

8 years agoAdd MDB_PREV_MULTIPLE (collected mdb.master changes)
Howard Chu [Thu, 7 Jan 2016 18:28:29 +0000 (18:28 +0000)] 
Add MDB_PREV_MULTIPLE (collected mdb.master changes)

Logical counterpart to GET_MULTIPLE, NEXT_MULTIPLE

8 years agoFactor out refreshing sub-page pointers
Hallvard Furuseth [Thu, 1 Dec 2016 20:17:42 +0000 (21:17 +0100)] 
Factor out refreshing sub-page pointers

8 years agoMore for ITS#8406 (xcursor fixups)
Howard Chu [Tue, 29 Nov 2016 19:19:45 +0000 (19:19 +0000)] 
More for ITS#8406 (xcursor fixups)

Revert excess cursor fixup
xcursor fixup depends on init state