|
|
@ -43,7 +43,7 @@ int main(int argc,char * argv[]) |
|
|
|
rc = mdb_env_set_maxdbs(env, 4); |
|
|
|
rc = mdb_env_set_maxdbs(env, 4); |
|
|
|
rc = mdb_env_open(env, "./testdb", MDB_FIXEDMAP|MDB_NOSYNC, 0664); |
|
|
|
rc = mdb_env_open(env, "./testdb", MDB_FIXEDMAP|MDB_NOSYNC, 0664); |
|
|
|
rc = mdb_txn_begin(env, NULL, 0, &txn); |
|
|
|
rc = mdb_txn_begin(env, NULL, 0, &txn); |
|
|
|
rc = mdb_open(txn, "id2", MDB_CREATE|MDB_INTEGERKEY, &dbi); |
|
|
|
rc = mdb_open(txn, "id6", MDB_CREATE|MDB_INTEGERKEY, &dbi); |
|
|
|
rc = mdb_cursor_open(txn, dbi, &cursor); |
|
|
|
rc = mdb_cursor_open(txn, dbi, &cursor); |
|
|
|
rc = mdb_stat(txn, dbi, &mst); |
|
|
|
rc = mdb_stat(txn, dbi, &mst); |
|
|
|
|
|
|
|
|
|
|
|