mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx: Merge branch 'devel'.
This commit is contained in:
commit
a23e55f1d9
15
.travis.yml
Normal file
15
.travis.yml
Normal file
@ -0,0 +1,15 @@
|
||||
language: c
|
||||
sudo: false
|
||||
dist: trusty
|
||||
cache: bundler
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
os:
|
||||
- linux
|
||||
|
||||
script: if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make all lmdb check; fi
|
@ -1,6 +1,6 @@
|
||||
Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
10
lmdb.h
10
lmdb.h
@ -125,17 +125,17 @@
|
||||
* @author Leonid Yuriev, 'ReOpen' initiative <https://github.com/ReOpen>.
|
||||
* Howard Chu, Symas Corp. All rights reserved.
|
||||
*
|
||||
* @copyright 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* 2011-2016 Howard Chu, Symas Corp. All rights reserved.
|
||||
* @copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* 2011-2017 Howard Chu, Symas Corp. All rights reserved.
|
||||
*
|
||||
* ---
|
||||
*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* @par Derived From:
|
||||
* This code is derived from LMDB engine written by Howard Chu, Symas Corporation.
|
||||
*
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp. All rights reserved.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
|
6
mdb.c
6
mdb.c
@ -6,9 +6,9 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,8 +1,8 @@
|
||||
/* mdbx_chk.c - memory-mapped database check tool */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
*
|
||||
* This file is part of libmdbx.
|
||||
*
|
||||
|
@ -1,4 +1,6 @@
|
||||
.\" Copyright 2012-2016 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
.\" Copyright 2012-2017 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015,2016 Peter-Service R&D LLC <http://billing.ru/>.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.TH MDB_COPY 1 "2014/06/20" "LMDB 0.9.14"
|
||||
.SH NAME
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* mdb_copy.c - memory-mapped database backup tool */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2012-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2012-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,6 +1,6 @@
|
||||
.\" Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
.\" Copyright (c) 2015,2016 Peter-Service R&D LLC <http://billing.ru/>.
|
||||
.\" Copyright 2014-2016 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
.\" Copyright 2014-2017 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015,2016 Peter-Service R&D LLC <http://billing.ru/>.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.TH MDB_DUMP 1 "2014/06/20" "LMDB 0.9.14"
|
||||
.SH NAME
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* mdb_dump.c - memory-mapped database dump tool */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,6 +1,8 @@
|
||||
.TH MDB_LOAD 1 "2014/06/20" "LMDB 0.9.14"
|
||||
.\" Copyright 2014-2016 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
.\" Copyright 2014-2017 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015,2016 Peter-Service R&D LLC <http://billing.ru/>.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.TH MDB_LOAD 1 "2014/06/20" "LMDB 0.9.14"
|
||||
.SH NAME
|
||||
mdb_load \- LMDB environment import tool
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* mdb_load.c - memory-mapped database load tool */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,6 +1,6 @@
|
||||
.\" Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
.\" Copyright (c) 2015,2016 Peter-Service R&D LLC <http://billing.ru/>.
|
||||
.\" Copyright 2012-2016 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
.\" Copyright 2012-2017 Howard Chu, Symas Corp. All Rights Reserved.
|
||||
.\" Copyright 2015,2016 Peter-Service R&D LLC <http://billing.ru/>.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.TH MDB_STAT 1 "2014/06/20" "LMDB 0.9.14"
|
||||
.SH NAME
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* mdb_stat.c - memory-mapped database status tool */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
4
mdbx.c
4
mdbx.c
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
4
mdbx.h
4
mdbx.h
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
midl.c
6
midl.c
@ -2,9 +2,9 @@
|
||||
* @brief ldap bdb back-end ID List functions */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2000-2016 The OpenLDAP Foundation.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2000-2017 The OpenLDAP Foundation.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
midl.h
6
midl.h
@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2000-2016 The OpenLDAP Foundation.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2000-2017 The OpenLDAP Foundation.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
mtest0.c
6
mtest0.c
@ -1,9 +1,9 @@
|
||||
/* mtest.c - memory-mapped database tester/toy */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
4
mtest1.c
4
mtest1.c
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
mtest2.c
6
mtest2.c
@ -1,9 +1,9 @@
|
||||
/* mtest2.c - memory-mapped database tester/toy */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
mtest3.c
6
mtest3.c
@ -1,9 +1,9 @@
|
||||
/* mtest3.c - memory-mapped database tester/toy */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
mtest4.c
6
mtest4.c
@ -1,9 +1,9 @@
|
||||
/* mtest4.c - memory-mapped database tester/toy */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
mtest5.c
6
mtest5.c
@ -1,9 +1,9 @@
|
||||
/* mtest5.c - memory-mapped database tester/toy */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
6
mtest6.c
6
mtest6.c
@ -1,9 +1,9 @@
|
||||
/* mtest6.c - memory-mapped database tester/toy */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2011-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2011-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
4
reopen.h
4
reopen.h
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -4,9 +4,9 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2012-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2012-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -4,9 +4,9 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2012-2016 Howard Chu, Symas Corp.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2012-2017 Howard Chu, Symas Corp.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
4
wbench.c
4
wbench.c
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2015,2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015,2016 Peter-Service R&D LLC.
|
||||
* Copyright 2015-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015,2016 Peter-Service R&D LLC.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015 Vladimir Romanov <https://www.linkedin.com/in/vladimirromanov>, Yota Lab.
|
||||
* Copyright 2016-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015 Vladimir Romanov <https://www.linkedin.com/in/vladimirromanov>, Yota Lab.
|
||||
*
|
||||
* This file is part of libmdbx.
|
||||
*
|
||||
@ -16,7 +16,6 @@
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/time.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright (c) 2015 Vladimir Romanov <https://www.linkedin.com/in/vladimirromanov>, Yota Lab.
|
||||
* Copyright 2016-2017 Leonid Yuriev <leo@yuriev.ru>.
|
||||
* Copyright 2015 Vladimir Romanov <https://www.linkedin.com/in/vladimirromanov>, Yota Lab.
|
||||
*
|
||||
* This file is part of libmdbx.
|
||||
*
|
||||
@ -16,7 +16,6 @@
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/time.h>
|
||||
|
Loading…
Reference in New Issue
Block a user