Compare commits

..

4 Commits

Author SHA1 Message Date
Leo Yuriev
5bb92a4277 mdbx: add fallthrough for modern gcc.
Change-Id: I948adc0e534dd9ba42b7d64e8105870cc77f82e6
2018-06-21 20:09:27 +03:00
Leo Yuriev
c381573d1f mdbx-tests: include <sys/sysmacros.h> for modern glibc.
Change-Id: I9ac297c6c029b2d88faaa84aab5180dc9d6a5d7a
2018-06-21 20:05:09 +03:00
Leo Yuriev
31873e8e2c mdbx-ci: migrate to Circle-CI 2.0
Change-Id: If8b77d070277cf88dfe81f5bf33dd33466dca0d9
2018-06-21 19:51:23 +03:00
Leo Yuriev
e94d6efec6 mdbx: update Project Status. 2018-05-10 14:09:37 +03:00
14 changed files with 30 additions and 17 deletions

9
.circleci/config.yml Normal file
View File

@@ -0,0 +1,9 @@
version: 2
jobs:
build:
docker:
- image: circleci/buildpack-deps:artful
steps:
- checkout
- run: make all lmdb
- run: make check

View File

@@ -5,8 +5,16 @@ Extended LMDB, aka "Расширенная LMDB".
*The Future will Positive. Всё будет хорошо.*
[![Build Status](https://travis-ci.org/leo-yuriev/libmdbx.svg?branch=stable%2F0.0)](https://travis-ci.org/leo-yuriev/libmdbx)
English version by Google [is here](https://translate.googleusercontent.com/translate_c?act=url&ie=UTF8&sl=ru&tl=en&u=https://github.com/leo-yuriev/libmdbx/tree/stable%2F0.0).
## Project Status for now
- The stable versions (the _stable/*_ branches) of are frozen, i.e. no new features or API changes, but only bug fixes.
- The next (the _devel_ branch) version **is under active development**, i.e. current API and set of features are extreme volatile.
- The immediate goal of development is formation of the stable API and the stable internal database format, which allows realise all planned features.
- Planned features: Integrity check by Merkle tree, Support for raw block devices, Separate place for large data items, Using "roaring bitmaps" for garbage collector, Non-linear page reclaiming, Asynchronous lazy data flush to disk(s), etc.
-----
English version by Google [is here](https://translate.googleusercontent.com/translate_c?act=url&ie=UTF8&sl=ru&tl=en&u=https://github.com/leo-yuriev/libmdbx/tree/stable%2F0.0).
## Кратко

View File

@@ -1,14 +0,0 @@
machine:
timezone:
Europe/Moscow
database:
override:
compile:
override:
- make all lmdb
test:
override:
- make check

3
mdb.c
View File

@@ -7032,7 +7032,8 @@ more:
offset *= 4; /* space for 4 more */
break;
}
/* FALLTHRU: Big enough MDB_DUPFIXED sub-page */
/* Big enough MDB_DUPFIXED sub-page */
/* fallthrough */
case MDB_CURRENT | MDB_NODUPDATA:
case MDB_CURRENT:
fp->mp_flags |= P_DIRTY;

View File

@@ -186,7 +186,7 @@ int main(int argc, char *argv[])
break;
case 'l':
list = 1;
/*FALLTHROUGH*/;
/* fallthrough */
case 'a':
if (subname)
usage(prog);

View File

@@ -21,6 +21,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#include <pthread.h>

View File

@@ -20,6 +20,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)

View File

@@ -23,6 +23,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)

View File

@@ -23,6 +23,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)

View File

@@ -23,6 +23,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)

View File

@@ -23,6 +23,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)

View File

@@ -23,6 +23,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)

View File

@@ -18,6 +18,7 @@
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)

View File

@@ -18,6 +18,7 @@
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <sys/sysmacros.h>
#include "mdbx.h"
#define E(expr) CHECK((rc = (expr)) == MDB_SUCCESS, #expr)