aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb32/sample-mdb.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-07-16 12:46:15 +0200
committerRiccardo Spagni <ric@spagni.net>2015-07-16 12:46:15 +0200
commita4254a48f12c50470f3cc0e73029e8c7dec4a18e (patch)
tree9495e3039cfe53eaa445d8c5b164dcdda2ead631 /external/db_drivers/liblmdb32/sample-mdb.txt
parentupdated in-source lmdb (diff)
downloadmonero-a4254a48f12c50470f3cc0e73029e8c7dec4a18e.tar.xz
updated vl32 to current
Diffstat (limited to '')
-rw-r--r--external/db_drivers/liblmdb32/sample-mdb.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/external/db_drivers/liblmdb32/sample-mdb.txt b/external/db_drivers/liblmdb32/sample-mdb.txt
index a233ec5dd..10a256870 100644
--- a/external/db_drivers/liblmdb32/sample-mdb.txt
+++ b/external/db_drivers/liblmdb32/sample-mdb.txt
@@ -3,7 +3,7 @@
* Do a line-by-line comparison of this and sample-bdb.txt
*/
/*
- * Copyright 2012 Howard Chu, Symas Corp.
+ * Copyright 2012-2015 Howard Chu, Symas Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@ int main(int argc,char * argv[])
rc = mdb_env_create(&env);
rc = mdb_env_open(env, "./testdb", 0, 0664);
rc = mdb_txn_begin(env, NULL, 0, &txn);
- rc = mdb_open(txn, NULL, 0, &dbi);
+ rc = mdb_dbi_open(txn, NULL, 0, &dbi);
key.mv_size = sizeof(int);
key.mv_data = sval;
@@ -56,7 +56,7 @@ int main(int argc,char * argv[])
mdb_cursor_close(cursor);
mdb_txn_abort(txn);
leave:
- mdb_close(env, dbi);
+ mdb_dbi_close(env, dbi);
mdb_env_close(env);
return 0;
}