From 4f79e3756c786003a998065ef894d35c2a78e1be Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sun, 3 Feb 2019 12:28:01 +0300 Subject: [PATCH] mdbx: 2019 HNY. Change-Id: Iec6b7affedef0ea89fad917eb17af7e8201a7482 --- COPYRIGHT | 2 +- README-RU.md | 29 +++++++++++++---------------- mdbx.h | 6 +++--- src/bits.h | 2 +- src/defs.h | 2 +- src/lck-posix.c | 2 +- src/lck-windows.c | 2 +- src/mdbx.c | 4 ++-- src/osal.c | 2 +- src/osal.h | 2 +- src/tools/mdbx_chk.c | 4 ++-- src/tools/mdbx_copy.1 | 2 +- src/tools/mdbx_copy.c | 2 +- src/tools/mdbx_dump.1 | 2 +- src/tools/mdbx_dump.c | 2 +- src/tools/mdbx_load.1 | 2 +- src/tools/mdbx_load.c | 2 +- src/tools/mdbx_stat.1 | 2 +- src/tools/mdbx_stat.c | 2 +- src/version.c | 2 +- test/CMakeLists.txt | 2 +- test/base.h | 2 +- test/cases.cc | 4 ++-- test/chrono.cc | 2 +- test/chrono.h | 2 +- test/config.cc | 2 +- test/config.h | 4 ++-- test/copy.cc | 2 +- test/dead.cc | 2 +- test/hill.cc | 2 +- test/jitter.cc | 2 +- test/keygen.cc | 2 +- test/keygen.h | 2 +- test/log.cc | 2 +- test/log.h | 2 +- test/main.cc | 4 ++-- test/osal-unix.cc | 4 ++-- test/osal-windows.cc | 4 ++-- test/osal.h | 4 ++-- test/test.cc | 4 ++-- test/test.h | 2 +- test/utils.cc | 2 +- test/utils.h | 2 +- tutorial/sample-bdb.txt | 2 +- tutorial/sample-mdbx.c | 2 +- 45 files changed, 68 insertions(+), 71 deletions(-) diff --git a/COPYRIGHT b/COPYRIGHT index 7c2fd24c..46e09610 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,4 +1,4 @@ -Copyright 2015-2018 Leonid Yuriev . +Copyright 2015-2019 Leonid Yuriev . Copyright 2011-2015 Howard Chu, Symas Corp. Copyright 2015,2016 Peter-Service R&D LLC. All rights reserved. diff --git a/README-RU.md b/README-RU.md index 23354555..622b682c 100644 --- a/README-RU.md +++ b/README-RU.md @@ -12,24 +12,21 @@ and [by Yandex](https://translate.yandex.ru/translate?url=https%3A%2F%2Fgithub.c ### Project Status +**Сейчас MDBX _активно перерабатывается_** предстоит +большое изменение как API, так и формата базы данных. К сожалению, +обновление приведет к потере совместимости с предыдущими версиями. -**Сейчас MDBX _активно перерабатывается_** и к середине 2018 -ожидается большое изменение как API, так и формата базы данных. -К сожалению, обновление приведет к потере совместимости с -предыдущими версиями. +Цель этой революции - обеспечение более четкого надежного API и +добавление новых функции, а также наделение базы данных новыми +свойствами. -Цель этой революции - обеспечение более четкого надежного -API и добавление новых функции, а также наделение базы данных -новыми свойствами. - -В настоящее время MDBX предназначена для Linux, а также -поддерживает Windows (начиная с Windows Server 2008) в качестве -дополнительной платформы. Поддержка других ОС может быть -обеспечена на коммерческой основе. Однако такие -усовершенствования (т. е. pull-requests) могут быть приняты в -мейнстрим только в том случае, если будет доступен -соответствующий публичный и бесплатный сервис непрерывной -интеграции (aka Continuous Integration). +В настоящее время MDBX предназначена для Linux, а также поддерживает +Windows (начиная с Windows Server 2008) в качестве дополнительной +платформы. Поддержка других ОС может быть обеспечена на коммерческой +основе. Однако такие усовершенствования (т. е. pull-requests) могут быть +приняты в мейнстрим только в том случае, если будет доступен +соответствующий публичный и бесплатный сервис непрерывной интеграции +(aka Continuous Integration). ## Содержание diff --git a/mdbx.h b/mdbx.h index cedcbc11..8d5265d4 100644 --- a/mdbx.h +++ b/mdbx.h @@ -1,6 +1,6 @@ /* LICENSE AND COPYRUSTING ***************************************************** * - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * @@ -60,8 +60,8 @@ /* IMPENDING CHANGES WARNING *************************************************** * - * MDBX is under active development, database format and API aren't stable - * at least until 2018Q2. New version won't be backwards compatible. Main focus + * MDBX is under active non-public development, database format and API + * will be refined. New version won't be backwards compatible. Main focus * of the rework is to provide clear and robust API and new features. * ******************************************************************************/ diff --git a/src/bits.h b/src/bits.h index 76419db5..b7094ef2 100644 --- a/src/bits.h +++ b/src/bits.h @@ -1,5 +1,5 @@ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/defs.h b/src/defs.h index 6da5a963..992d8f74 100644 --- a/src/defs.h +++ b/src/defs.h @@ -1,5 +1,5 @@ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/lck-posix.c b/src/lck-posix.c index e2353575..55523efc 100644 --- a/src/lck-posix.c +++ b/src/lck-posix.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/lck-windows.c b/src/lck-windows.c index 21d6f05a..9f56568f 100644 --- a/src/lck-windows.c +++ b/src/lck-windows.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/mdbx.c b/src/mdbx.c index b2124fe9..1ff535b7 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -1,5 +1,5 @@ -/* - * Copyright 2015-2018 Leonid Yuriev +/* + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/osal.c b/src/osal.c index 502205ae..2350ce7a 100644 --- a/src/osal.c +++ b/src/osal.c @@ -1,7 +1,7 @@ /* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/osal.h b/src/osal.h index 5754a83a..69857cd1 100644 --- a/src/osal.h +++ b/src/osal.h @@ -1,7 +1,7 @@ /* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_chk.c b/src/tools/mdbx_chk.c index 9ad65f8d..38e9e204 100644 --- a/src/tools/mdbx_chk.c +++ b/src/tools/mdbx_chk.c @@ -1,7 +1,7 @@ -/* mdbx_chk.c - memory-mapped database check tool */ +/* mdbx_chk.c - memory-mapped database check tool */ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_copy.1 b/src/tools/mdbx_copy.1 index db6c453a..74d94b6b 100644 --- a/src/tools/mdbx_copy.1 +++ b/src/tools/mdbx_copy.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2018 Leonid Yuriev . +.\" Copyright 2015-2019 Leonid Yuriev . .\" Copyright 2012-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_copy.c b/src/tools/mdbx_copy.c index ee3f739d..9b0c833a 100644 --- a/src/tools/mdbx_copy.c +++ b/src/tools/mdbx_copy.c @@ -1,7 +1,7 @@ /* mdbx_copy.c - memory-mapped database backup tool */ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_dump.1 b/src/tools/mdbx_dump.1 index ccfcc0c9..93d29a7c 100644 --- a/src/tools/mdbx_dump.1 +++ b/src/tools/mdbx_dump.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2018 Leonid Yuriev . +.\" Copyright 2015-2019 Leonid Yuriev . .\" Copyright 2014-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_dump.c b/src/tools/mdbx_dump.c index c854e0ad..246aca8f 100644 --- a/src/tools/mdbx_dump.c +++ b/src/tools/mdbx_dump.c @@ -1,7 +1,7 @@ /* mdbx_dump.c - memory-mapped database dump tool */ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_load.1 b/src/tools/mdbx_load.1 index 7a18a6c0..5227fd9b 100644 --- a/src/tools/mdbx_load.1 +++ b/src/tools/mdbx_load.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2018 Leonid Yuriev . +.\" Copyright 2015-2019 Leonid Yuriev . .\" Copyright 2014-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_load.c b/src/tools/mdbx_load.c index 4a337a1a..c36084c0 100644 --- a/src/tools/mdbx_load.c +++ b/src/tools/mdbx_load.c @@ -1,7 +1,7 @@ /* mdbx_load.c - memory-mapped database load tool */ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_stat.1 b/src/tools/mdbx_stat.1 index ca427f7a..50a30b4f 100644 --- a/src/tools/mdbx_stat.1 +++ b/src/tools/mdbx_stat.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2018 Leonid Yuriev . +.\" Copyright 2015-2019 Leonid Yuriev . .\" Copyright 2012-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_stat.c b/src/tools/mdbx_stat.c index a219b9ec..0791d9f3 100644 --- a/src/tools/mdbx_stat.c +++ b/src/tools/mdbx_stat.c @@ -1,7 +1,7 @@ /* mdbx_stat.c - memory-mapped database status tool */ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/version.c b/src/version.c index d5cd3697..8077d69c 100644 --- a/src/version.c +++ b/src/version.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2018 Leonid Yuriev + * Copyright 2015-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ca7dd794..d34da91a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -set(TARGET mdbx_test) +set(TARGET mdbx_test) project(${TARGET}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-declarations") diff --git a/test/base.h b/test/base.h index bc82ff26..8210c18b 100644 --- a/test/base.h +++ b/test/base.h @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/cases.cc b/test/cases.cc index 13d47576..58141603 100644 --- a/test/cases.cc +++ b/test/cases.cc @@ -1,5 +1,5 @@ -/* - * Copyright 2017-2018 Leonid Yuriev +/* + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/chrono.cc b/test/chrono.cc index f7346686..38cb321a 100644 --- a/test/chrono.cc +++ b/test/chrono.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/chrono.h b/test/chrono.h index c2bd5627..11675195 100644 --- a/test/chrono.h +++ b/test/chrono.h @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/config.cc b/test/config.cc index 7fa46208..bb5fc61c 100644 --- a/test/config.cc +++ b/test/config.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/config.h b/test/config.h index 1886a8ea..dd14046f 100644 --- a/test/config.h +++ b/test/config.h @@ -1,5 +1,5 @@ -/* - * Copyright 2017-2018 Leonid Yuriev +/* + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/copy.cc b/test/copy.cc index e239d41e..ff53153e 100644 --- a/test/copy.cc +++ b/test/copy.cc @@ -1,4 +1,4 @@ -#include "test.h" +#include "test.h" void testcase_copy::copy_db(const bool with_compaction) { int err = osal_removefile(copy_pathname); diff --git a/test/dead.cc b/test/dead.cc index ee13fbd0..7f55ba8c 100644 --- a/test/dead.cc +++ b/test/dead.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/hill.cc b/test/hill.cc index 753a095b..2abe6d0d 100644 --- a/test/hill.cc +++ b/test/hill.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/jitter.cc b/test/jitter.cc index 25514004..e8876921 100644 --- a/test/jitter.cc +++ b/test/jitter.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/keygen.cc b/test/keygen.cc index c7a70606..4753899e 100644 --- a/test/keygen.cc +++ b/test/keygen.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/keygen.h b/test/keygen.h index bbd97b29..1466720d 100644 --- a/test/keygen.h +++ b/test/keygen.h @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/log.cc b/test/log.cc index 0e325e3a..79544e11 100644 --- a/test/log.cc +++ b/test/log.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/log.h b/test/log.h index e09cccaa..03e2bbc9 100644 --- a/test/log.h +++ b/test/log.h @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/main.cc b/test/main.cc index 275b7b13..7ebe2568 100644 --- a/test/main.cc +++ b/test/main.cc @@ -1,5 +1,5 @@ -/* - * Copyright 2017-2018 Leonid Yuriev +/* + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/osal-unix.cc b/test/osal-unix.cc index 6e6d7a1c..ee2051a8 100644 --- a/test/osal-unix.cc +++ b/test/osal-unix.cc @@ -1,5 +1,5 @@ -/* - * Copyright 2017-2018 Leonid Yuriev +/* + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/osal-windows.cc b/test/osal-windows.cc index f7f1de56..ea802182 100644 --- a/test/osal-windows.cc +++ b/test/osal-windows.cc @@ -1,5 +1,5 @@ -/* - * Copyright 2017-2018 Leonid Yuriev +/* + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/osal.h b/test/osal.h index 3ccc7bbe..eb88008b 100644 --- a/test/osal.h +++ b/test/osal.h @@ -1,5 +1,5 @@ -/* - * Copyright 2017-2018 Leonid Yuriev +/* + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/test.cc b/test/test.cc index 445c4c8d..de02ae4f 100644 --- a/test/test.cc +++ b/test/test.cc @@ -1,5 +1,5 @@ -/* - * Copyright 2017-2018 Leonid Yuriev +/* + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/test.h b/test/test.h index 765940ce..e2e0d7c4 100644 --- a/test/test.h +++ b/test/test.h @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/utils.cc b/test/utils.cc index 53a750e3..2df6dc72 100644 --- a/test/utils.cc +++ b/test/utils.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/utils.h b/test/utils.h index 5d62909f..e0479cb6 100644 --- a/test/utils.h +++ b/test/utils.h @@ -1,5 +1,5 @@ /* - * Copyright 2017-2018 Leonid Yuriev + * Copyright 2017-2019 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/tutorial/sample-bdb.txt b/tutorial/sample-bdb.txt index 1015d064..440efddb 100644 --- a/tutorial/sample-bdb.txt +++ b/tutorial/sample-bdb.txt @@ -4,7 +4,7 @@ */ /* - * Copyright 2015-2018 Leonid Yuriev . + * Copyright 2015-2019 Leonid Yuriev . * Copyright 2012-2015 Howard Chu, Symas Corp. * Copyright 2015,2016 Peter-Service R&D LLC. * All rights reserved. diff --git a/tutorial/sample-mdbx.c b/tutorial/sample-mdbx.c index aaafbc31..991ab698 100644 --- a/tutorial/sample-mdbx.c +++ b/tutorial/sample-mdbx.c @@ -5,7 +5,7 @@ /* * Copyright 2017 Ilya Shipitsin . - * Copyright 2015-2018 Leonid Yuriev . + * Copyright 2015-2019 Leonid Yuriev . * Copyright 2012-2015 Howard Chu, Symas Corp. * All rights reserved. *