summaryrefslogtreecommitdiff
path: root/test/aux-fixed
diff options
context:
space:
mode:
Diffstat (limited to 'test/aux-fixed')
-rw-r--r--test/aux-fixed/2800.lmdb-mkdb-dump.py15
-rw-r--r--test/aux-fixed/2800.mdbbin0 -> 12288 bytes
-rw-r--r--test/aux-fixed/2800.mdb.src3
3 files changed, 18 insertions, 0 deletions
diff --git a/test/aux-fixed/2800.lmdb-mkdb-dump.py b/test/aux-fixed/2800.lmdb-mkdb-dump.py
new file mode 100644
index 000000000..3de6ba13b
--- /dev/null
+++ b/test/aux-fixed/2800.lmdb-mkdb-dump.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+import os
+import lmdb
+
+if os.path.exists('2800.mdb'):
+ os.unlink('2800.mdb')
+
+env = lmdb.open('2800.mdb', subdir=False);
+with env.begin(write=True) as txn:
+ txn.put('first', 'data for first')
+ txn.put('second', 'A=1 B=2')
+ txn.put('third', 'A1:B2:C3')
+ cursor = txn.cursor()
+ for key, value in cursor:
+ print key, "=>", value
diff --git a/test/aux-fixed/2800.mdb b/test/aux-fixed/2800.mdb
new file mode 100644
index 000000000..2002ee1b5
--- /dev/null
+++ b/test/aux-fixed/2800.mdb
Binary files differ
diff --git a/test/aux-fixed/2800.mdb.src b/test/aux-fixed/2800.mdb.src
new file mode 100644
index 000000000..957952720
--- /dev/null
+++ b/test/aux-fixed/2800.mdb.src
@@ -0,0 +1,3 @@
+first: data for first
+second: A=1 B=2
+third: A1:B2:C3