Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
c0d4586b
Commit
c0d4586b
authored
Mar 14, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b542beeb
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
202 additions
and
198 deletions
+202
-198
t/neo/storage/fs1/cmd/fstail/fstail.go
t/neo/storage/fs1/cmd/fstail/fstail.go
+1
-1
t/neo/storage/fs1/cmd/fstail/testdata/1.fsdump.ok
t/neo/storage/fs1/cmd/fstail/testdata/1.fsdump.ok
+59
-59
t/neo/storage/fs1/py/gen-testdata
t/neo/storage/fs1/py/gen-testdata
+10
-6
t/neo/storage/fs1/testdata/1.fs
t/neo/storage/fs1/testdata/1.fs
+0
-0
t/neo/storage/fs1/testdata/1.fs.index
t/neo/storage/fs1/testdata/1.fs.index
+0
-0
t/neo/storage/fs1/testdata_expect_test.go
t/neo/storage/fs1/testdata_expect_test.go
+131
-131
t/neo/zodb/cmd/zodbdump/testdata/1.zdump.pyok
t/neo/zodb/cmd/zodbdump/testdata/1.zdump.pyok
+0
-0
t/neo/zodb/cmd/zodbdump/zodbdump_test.go
t/neo/zodb/cmd/zodbdump/zodbdump_test.go
+1
-1
No files found.
t/neo/storage/fs1/cmd/fstail/fstail.go
View file @
c0d4586b
...
...
@@ -38,7 +38,7 @@ import (
// pyQuote quotes string the way python would do it
// specifically quote char is ' (not " as in go)
// XXX s = 'a\'bc'; print repr(s) -> "a'bc" (not 'a\'bc'
// XXX s = 'a\'bc'; print repr(s) -> "a'bc" (not 'a\'bc'
<- XXX fix this
func
pyQuote
(
s
string
)
string
{
out
:=
pyQuoteBytes
(
mem
.
Bytes
(
s
))
return
mem
.
String
(
out
)
...
...
t/neo/storage/fs1/cmd/fstail/testdata/1.fsdump.ok
View file @
c0d4586b
1979-01-03 21:01:31.300002: hash=
ae95b81aacea7df69641c468891dd2321736a1e
5
user=
'root1\nYour\nRoyal\nMagesty ' description='delete 1\nalpha beta gamma\n\nqqq ...' length=192 offset=11934 (+142
)
1979-01-03 21:01:31.300002: hash=
9176cad01fe2751a2317912476da043f2cd2708
5
user=
"root1\nYour\nRoyal\nMagesty' " description='delete 1\nalpha beta gamma\'delta"lambda\n\nqqq ...' length=206 offset=11948 (+156
)
1979-01-03 21:01:30.200002: hash=
5febc59008859e0bab6bdeb9fd876d002af0c922
user='' description='predelete 6' length=362 offset=115
64
(+34)
1979-01-03 21:01:30.200002: hash=
4c2bcec885530156e134f089e7255a0ad1f2eab0
user='' description='predelete 6' length=362 offset=115
78
(+34)
1979-01-03 21:01:29.100002: hash=
0360220321f1f6ee085b9b6f44512c7c0b1e1094
user='root1.1\nYour\nMagesty ' description='undo 1.1\nmore detailed description\n\nzzz ...\t\t' length=208 offset=113
48
(+158)
1979-01-03 21:01:29.100002: hash=
fd3148ac612b6ec793747165c73ce236a3b61702
user='root1.1\nYour\nMagesty ' description='undo 1.1\nmore detailed description\n\nzzz ...\t\t' length=208 offset=113
62
(+158)
1979-01-03 21:01:28.000002: hash=
d477644de8e45016e039bf4510a8e822460f5654
user='root1.0\nYour\nMagesty ' description='undo 1.0\nmore detailed description\n\nzzz ...\t' length=207 offset=111
33
(+157)
1979-01-03 21:01:28.000002: hash=
ef9928d3049ad902a5d98293d46358cea8f44319
user='root1.0\nYour\nMagesty ' description='undo 1.0\nmore detailed description\n\nzzz ...\t' length=207 offset=111
47
(+157)
1979-01-03 21:01:25.800002: hash=
8735a7c5ecf4568bb4ecdd1bdbf4144dad9d9a1b
user='user1.24' description='step 1.24' length=165 offset=109
60
(+93)
1979-01-03 21:01:25.800002: hash=
bc4c742d2821d463ffad5348f6c86d4ed44996cf
user='user1.24' description='step 1.24' length=165 offset=109
74
(+93)
1979-01-03 21:01:24.700002: hash=
fffc4d3ed8ebf888ed6b87ea149b12fde7072257
user='user1.23' description='step 1.23' length=165 offset=10
787
(+93)
1979-01-03 21:01:24.700002: hash=
ad2bfa76c1c7288f99831397715d120a84ac3e63
user='user1.23' description='step 1.23' length=165 offset=10
801
(+93)
1979-01-03 21:01:23.600002: hash=
283d46a7291eee3574a1fa43e09503ff2f98c014
user='user1.22' description='step 1.22' length=165 offset=106
14
(+93)
1979-01-03 21:01:23.600002: hash=
722921c9dd036f270f505d4e1645a63b62f6bac1
user='user1.22' description='step 1.22' length=165 offset=106
28
(+93)
1979-01-03 21:01:22.500002: hash=
b90bf29bf3376cfdd96a70c8c3447ad9cd7915fe
user='user1.21' description='step 1.21' length=165 offset=104
41
(+93)
1979-01-03 21:01:22.500002: hash=
f22d4cdd01d17a66d53e8727b1305c227983b194
user='user1.21' description='step 1.21' length=165 offset=104
55
(+93)
1979-01-03 21:01:21.400002: hash=
28677e54cd94cd2a34ae58b97dcbf9ba1c96e94
9
user='user1.20' description='step 1.20' length=165 offset=102
68
(+93)
1979-01-03 21:01:21.400002: hash=
e3c412c26b6522c046bdfe630eef32451b50ba6
9
user='user1.20' description='step 1.20' length=165 offset=102
82
(+93)
1979-01-03 21:01:20.300002: hash=
6a302f6e27f48d28b515cb4ebf164d58bf9f1cd6
user='user1.19' description='step 1.19' length=165 offset=10
095
(+93)
1979-01-03 21:01:20.300002: hash=
54cdd59a7131c0784bb3236471d857ed6f33f9b9
user='user1.19' description='step 1.19' length=165 offset=10
109
(+93)
1979-01-03 21:01:19.200002: hash=
18145b4716acc1a33c13c164595d381bc7b474ee
user='user1.18' description='step 1.18' length=165 offset=99
22
(+93)
1979-01-03 21:01:19.200002: hash=
20a4abf3c8a0984798374af5ed890e2910f46265
user='user1.18' description='step 1.18' length=165 offset=99
36
(+93)
1979-01-03 21:01:18.100002: hash=
1cfe8e357e75e15037154891ec847b5a0dddeabd
user='user1.17' description='step 1.17' length=165 offset=97
49
(+93)
1979-01-03 21:01:18.100002: hash=
a7c66e66a6e25cafe9b046b5a41993287ba3e296
user='user1.17' description='step 1.17' length=165 offset=97
63
(+93)
1979-01-03 21:01:17.000002: hash=
6d3b0999cb9f6c4a8367e5f492ca22445d8946f0
user='user1.16' description='step 1.16' length=165 offset=95
76
(+93)
1979-01-03 21:01:17.000002: hash=
a69f094230ca875a963524c93a35d23f0687308d
user='user1.16' description='step 1.16' length=165 offset=95
90
(+93)
1979-01-03 21:01:15.900002: hash=
30b720f0ab11edd5a74e55b4314ccc5782f04b79
user='user1.15' description='step 1.15' length=165 offset=94
03
(+93)
1979-01-03 21:01:15.900002: hash=
96316e0682da99e24c5d587b4bd4d2f3150eea8b
user='user1.15' description='step 1.15' length=165 offset=94
17
(+93)
1979-01-03 21:01:14.800002: hash=
5c4ccfee8f185b55d406d73a4d7661736bf2ed51
user='user1.14' description='step 1.14' length=165 offset=92
30
(+93)
1979-01-03 21:01:14.800002: hash=
da20e7ad9c0f55e7576dba5ffd9912c37d059232
user='user1.14' description='step 1.14' length=165 offset=92
44
(+93)
1979-01-03 21:01:13.700002: hash=
7f174a1329e8bd2e844e938d0f488c17dac6c181
user='user1.13' description='step 1.13' length=165 offset=90
57
(+93)
1979-01-03 21:01:13.700002: hash=
877241dc4a5f14d24a7779917310332f6c2e414e
user='user1.13' description='step 1.13' length=165 offset=90
71
(+93)
1979-01-03 21:01:12.600002: hash=
94f8601abc1b14aa1bc046278a64e1fa030173ba
user='user1.12' description='step 1.12' length=165 offset=88
84
(+93)
1979-01-03 21:01:12.600002: hash=
321ea792b7e67ac9339de238e817ca639d7f42ec
user='user1.12' description='step 1.12' length=165 offset=88
98
(+93)
1979-01-03 21:01:11.500002: hash=
ba816c6a0df59b7de877267e2bcb9358c7965e2d
user='user1.11' description='step 1.11' length=165 offset=87
11
(+93)
1979-01-03 21:01:11.500002: hash=
6b64527e3ba109266a8d68321147d54af8d6edc7
user='user1.11' description='step 1.11' length=165 offset=87
25
(+93)
1979-01-03 21:01:10.400002: hash=
07d37a188dc78f4a9ae6959fa15d0118a83ed307
user='user1.10' description='step 1.10' length=165 offset=85
38
(+93)
1979-01-03 21:01:10.400002: hash=
a5db043429fc63d48df1922ab60f3e6990d3561c
user='user1.10' description='step 1.10' length=165 offset=85
52
(+93)
1979-01-03 21:01:09.300001: hash=
f635079876c434af769286ff66e88770a26e85a9
user='user1.9' description='step 1.9' length=162 offset=83
68
(+91)
1979-01-03 21:01:09.300001: hash=
200139e7913a7ff53a34c6f5484b92128b246cde
user='user1.9' description='step 1.9' length=162 offset=83
82
(+91)
1979-01-03 21:01:08.200001: hash=
aa51431bcc1edecf5edde4d313935b9b7a4990f1
user='user1.8' description='step 1.8' length=162 offset=8
198
(+91)
1979-01-03 21:01:08.200001: hash=
39dfd11d1f24fb97387aeabf2a013f6ede6385dd
user='user1.8' description='step 1.8' length=162 offset=8
212
(+91)
1979-01-03 21:01:07.100001: hash=
8645d91242e4cf08ebf7872a57b7f7bcc8fdbc96
user='user1.7' description='step 1.7' length=162 offset=80
28
(+91)
1979-01-03 21:01:07.100001: hash=
9f7327cd475602bca99bf085aabf6051f2573313
user='user1.7' description='step 1.7' length=162 offset=80
42
(+91)
1979-01-03 21:01:06.000001: hash=
cdb959db250d5c2e85ea140783e9334eb01cfbba
user='user1.6' description='step 1.6' length=162 offset=78
58
(+91)
1979-01-03 21:01:06.000001: hash=
735edd1e61556098b0268dee9df1cae6a66aa938
user='user1.6' description='step 1.6' length=162 offset=78
72
(+91)
1979-01-03 21:01:04.900001: hash=
83cb769eba36d0a5dc5447e4b46ddd138fe6fdd8
user='user1.5' description='step 1.5' length=162 offset=7
688
(+91)
1979-01-03 21:01:04.900001: hash=
43863e7c4b4fb3f1bd400248d71fabbdac9456b6
user='user1.5' description='step 1.5' length=162 offset=7
702
(+91)
1979-01-03 21:01:03.800001: hash=
cf85f6460da24c29e48981c5f22672b362135b4e
user='user1.4' description='step 1.4' length=162 offset=75
18
(+91)
1979-01-03 21:01:03.800001: hash=
22ee061f2372fd74d03cf5dd54197bc3aa12a816
user='user1.4' description='step 1.4' length=162 offset=75
32
(+91)
1979-01-03 21:01:02.700001: hash=
f228f0b0142dc39ccfe7326422d625d68763e6ee
user='user1.3' description='step 1.3' length=162 offset=73
48
(+91)
1979-01-03 21:01:02.700001: hash=
be00cfff67f8f186cce0efb4be7af5525a8fdda7
user='user1.3' description='step 1.3' length=162 offset=73
62
(+91)
1979-01-03 21:01:01.600001: hash=
df413d5a85f1170bea04abe17bb02077c1b9ea7c
user='user1.2' description='step 1.2' length=162 offset=71
78
(+91)
1979-01-03 21:01:01.600001: hash=
152e5811cc260c0e9c28cf6bc0c5fb5c147b4daa
user='user1.2' description='step 1.2' length=162 offset=71
92
(+91)
1979-01-03 21:01:00.500001: hash=
a2f2f9980060b3f9d668ab68d33c6c27e202b019
user='user1.1' description='step 1.1' length=162 offset=70
08
(+91)
1979-01-03 21:01:00.500001: hash=
16e51f130683d896e8d182ebdd3bb80ae35d6050
user='user1.1' description='step 1.1' length=162 offset=70
22
(+91)
1979-01-03 21:00:59.400001: hash=
8618d58f2201169d9e0ea7e4627a6ba4dd4bd142
user='user1.0' description='step 1.0' length=162 offset=68
38
(+91)
1979-01-03 21:00:59.400001: hash=
17453ac2d8f8044d959f763516b56eda268e96ad
user='user1.0' description='step 1.0' length=162 offset=68
52
(+91)
1979-01-03 21:00:45.100001: hash=51db603ba9898da20dbe162dd20e4a76aeacbfeb
user=
'root0\nYour\nRoyal\nMagesty ' description='delete 0\nalpha beta gamma\n\nqqq ...' length=192 offset=6638 (+142
)
user=
"root0\nYour\nRoyal\nMagesty' " description='delete 0\nalpha beta gamma\'delta"lambda\n\nqqq ...' length=206 offset=6638 (+156
)
1979-01-03 21:00:44.000001: hash=469f380f59f9a72dae5ee6351fa2e38efb170d86
user='' description='predelete 7' length=362 offset=6268 (+34)
...
...
t/neo/storage/fs1/py/gen-testdata
View file @
c0d4586b
...
...
@@ -29,10 +29,14 @@ def hex64(packed):
# escape string into valid "..." string
def
escapeqq
(
s
):
# this escape almost everything except " character
q
=
s
.
encode
(
"string_escape"
)
q
=
q
.
replace
(
'"'
,
r'\"'
)
return
'"'
+
q
+
'"'
outv
=
[]
# we don't want ' to be escaped
for
_
in
s
.
split
(
"'"
):
# this escape almost everything except " character
q
=
_
.
encode
(
"string_escape"
)
q
=
q
.
replace
(
'"'
,
r'\"'
)
outv
.
append
(
q
)
return
'"'
+
"'"
.
join
(
outv
)
+
'"'
# make time.time() predictable
_xtime
=
time
.
mktime
(
time
.
strptime
(
"04 Jan 1979"
,
"%d %b %Y"
))
...
...
@@ -150,8 +154,8 @@ def main():
# Get serial via history.
obj_tid_lastchange
=
db
.
history
(
obj
.
_p_oid
)[
0
][
'tid'
]
txn
=
precommit
(
u"root%i
\
n
Your
\
n
Royal
\
n
Magesty "
%
i
,
u"delete %i
\
n
alpha beta gamma
\
n
\
n
qqq ..."
%
i
,
txn
=
precommit
(
u"root%i
\
n
Your
\
n
Royal
\
n
Magesty
'
"
%
i
,
u"delete %i
\
n
alpha beta gamma
'delta
\
"
lambda
\
n
\
n
qqq ..."
%
i
,
ext
(
"delete %s"
%
unpack64
(
obj
.
_p_oid
)))
stor
.
tpc_begin
(
txn
)
stor
.
deleteObject
(
obj
.
_p_oid
,
obj_tid_lastchange
,
txn
)
...
...
t/neo/storage/fs1/testdata/1.fs
View file @
c0d4586b
No preview for this file type
t/neo/storage/fs1/testdata/1.fs.index
View file @
c0d4586b
No preview for this file type
t/neo/storage/fs1/testdata_expect_test.go
View file @
c0d4586b
...
...
@@ -3,18 +3,18 @@ package fs1
import
"../../zodb"
const
_1fs_indexTopPos
=
121
34
const
_1fs_indexTopPos
=
121
62
var
_1fs_indexEntryv
=
[
...
]
indexEntry
{
{
0
,
11
598
},
{
1
,
100
15
},
{
2
,
96
69
},
{
3
,
105
34
},
{
4
,
72
69
},
{
5
,
115
06
},
{
6
,
12
076
},
{
7
,
67
80
},
{
8
,
89
77
},
{
9
,
118
56
},
{
0
,
11
612
},
{
1
,
100
29
},
{
2
,
96
83
},
{
3
,
105
48
},
{
4
,
72
83
},
{
5
,
115
20
},
{
6
,
12
104
},
{
7
,
67
94
},
{
8
,
89
91
},
{
9
,
118
70
},
}
var
_1fs_dbEntryv
=
[
...
]
dbEntry
{
...
...
@@ -996,12 +996,12 @@ var _1fs_dbEntryv = [...]dbEntry{
TxnHeader
{
Pos
:
6638
,
LenPrev
:
370
,
Len
:
2
00
,
Len
:
2
14
,
TxnInfo
:
zodb
.
TxnInfo
{
Tid
:
0x0285cbacc06d3a4c
,
Status
:
' '
,
User
:
[]
byte
(
"root0
\n
Your
\n
Royal
\n
Magesty "
),
Description
:
[]
byte
(
"delete 0
\n
alpha beta gamma
\n\n
qqq ..."
),
User
:
[]
byte
(
"root0
\n
Your
\n
Royal
\n
Magesty
'
"
),
Description
:
[]
byte
(
"delete 0
\n
alpha beta gamma
'delta
\"
lambda
\n\n
qqq ..."
),
Extension
:
[]
byte
(
"}q
\x01
(U
\t
x-cookieEU
\x05
ZM3QZU
\x0b
x-generatorq
\x02
U
\x13
zodb/py2 (delete 7)u."
),
},
},
...
...
@@ -1009,7 +1009,7 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
67
80
,
Pos
:
67
94
,
Oid
:
7
,
Tid
:
0x0285cbacc06d3a4c
,
PrevRevPos
:
5995
,
...
...
@@ -1024,8 +1024,8 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
68
38
,
LenPrev
:
2
00
,
Pos
:
68
52
,
LenPrev
:
2
14
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
Tid
:
0x0285cbacfd70a433
,
...
...
@@ -1039,11 +1039,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
69
29
,
Pos
:
69
43
,
Oid
:
8
,
Tid
:
0x0285cbacfd70a433
,
PrevRevPos
:
6560
,
TxnPos
:
68
38
,
TxnPos
:
68
52
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
c1.0q
\x02
."
),
...
...
@@ -1054,7 +1054,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
70
08
,
Pos
:
70
22
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1069,11 +1069,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
7
099
,
Pos
:
7
113
,
Oid
:
6
,
Tid
:
0x0285cbad02222280
,
PrevRevPos
:
3944
,
TxnPos
:
70
08
,
TxnPos
:
70
22
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
e1.1q
\x02
."
),
...
...
@@ -1084,7 +1084,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
71
78
,
Pos
:
71
92
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1099,11 +1099,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
72
69
,
Pos
:
72
83
,
Oid
:
4
,
Tid
:
0x0285cbad06d3a0cc
,
PrevRevPos
:
4463
,
TxnPos
:
71
78
,
TxnPos
:
71
92
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
b1.2q
\x02
."
),
...
...
@@ -1114,7 +1114,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
73
48
,
Pos
:
73
62
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1129,11 +1129,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
74
39
,
Pos
:
74
53
,
Oid
:
3
,
Tid
:
0x0285cbad0b851f19
,
PrevRevPos
:
6210
,
TxnPos
:
73
48
,
TxnPos
:
73
62
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
g1.3q
\x02
."
),
...
...
@@ -1144,7 +1144,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
75
18
,
Pos
:
75
32
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1159,11 +1159,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
76
09
,
Pos
:
76
23
,
Oid
:
3
,
Tid
:
0x0285cbad10369d66
,
PrevRevPos
:
74
39
,
TxnPos
:
75
18
,
PrevRevPos
:
74
53
,
TxnPos
:
75
32
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
g1.4q
\x02
."
),
...
...
@@ -1174,7 +1174,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
7
688
,
Pos
:
7
702
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1189,11 +1189,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
77
79
,
Pos
:
77
93
,
Oid
:
8
,
Tid
:
0x0285cbad14e81bb3
,
PrevRevPos
:
69
29
,
TxnPos
:
7
688
,
PrevRevPos
:
69
43
,
TxnPos
:
7
702
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
c1.5q
\x02
."
),
...
...
@@ -1204,7 +1204,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
78
58
,
Pos
:
78
72
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1219,11 +1219,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
79
49
,
Pos
:
79
63
,
Oid
:
1
,
Tid
:
0x0285cbad19999a00
,
PrevRevPos
:
3425
,
TxnPos
:
78
58
,
TxnPos
:
78
72
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
f1.6q
\x02
."
),
...
...
@@ -1234,7 +1234,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
80
28
,
Pos
:
80
42
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1249,11 +1249,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
81
19
,
Pos
:
81
33
,
Oid
:
2
,
Tid
:
0x0285cbad1e4b184c
,
PrevRevPos
:
4982
,
TxnPos
:
80
28
,
TxnPos
:
80
42
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
d1.7q
\x02
."
),
...
...
@@ -1264,7 +1264,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
8
198
,
Pos
:
8
212
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1279,11 +1279,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
8
289
,
Pos
:
8
303
,
Oid
:
8
,
Tid
:
0x0285cbad22fc9699
,
PrevRevPos
:
77
79
,
TxnPos
:
8
198
,
PrevRevPos
:
77
93
,
TxnPos
:
8
212
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
c1.8q
\x02
."
),
...
...
@@ -1294,7 +1294,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
83
68
,
Pos
:
83
82
,
LenPrev
:
170
,
Len
:
170
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1309,11 +1309,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
84
59
,
Pos
:
84
73
,
Oid
:
8
,
Tid
:
0x0285cbad27ae14e6
,
PrevRevPos
:
8
289
,
TxnPos
:
83
68
,
PrevRevPos
:
8
303
,
TxnPos
:
83
82
,
DataLen
:
29
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x04
c1.9q
\x02
."
),
...
...
@@ -1324,7 +1324,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
85
38
,
Pos
:
85
52
,
LenPrev
:
170
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1339,11 +1339,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
86
31
,
Pos
:
86
45
,
Oid
:
6
,
Tid
:
0x0285cbad2c5f9333
,
PrevRevPos
:
7
099
,
TxnPos
:
85
38
,
PrevRevPos
:
7
113
,
TxnPos
:
85
52
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
e1.10q
\x02
."
),
...
...
@@ -1354,7 +1354,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
87
11
,
Pos
:
87
25
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1369,11 +1369,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
88
04
,
Pos
:
88
18
,
Oid
:
5
,
Tid
:
0x0285cbad31111180
,
PrevRevPos
:
4636
,
TxnPos
:
87
11
,
TxnPos
:
87
25
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
a1.11q
\x02
."
),
...
...
@@ -1384,7 +1384,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
88
84
,
Pos
:
88
98
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1399,11 +1399,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
89
77
,
Pos
:
89
91
,
Oid
:
8
,
Tid
:
0x0285cbad35c28fcc
,
PrevRevPos
:
84
59
,
TxnPos
:
88
84
,
PrevRevPos
:
84
73
,
TxnPos
:
88
98
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
c1.12q
\x02
."
),
...
...
@@ -1414,7 +1414,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
90
57
,
Pos
:
90
71
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1429,11 +1429,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
91
50
,
Pos
:
91
64
,
Oid
:
6
,
Tid
:
0x0285cbad3a740e19
,
PrevRevPos
:
86
31
,
TxnPos
:
90
57
,
PrevRevPos
:
86
45
,
TxnPos
:
90
71
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
e1.13q
\x02
."
),
...
...
@@ -1444,7 +1444,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
92
30
,
Pos
:
92
44
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1459,11 +1459,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
93
23
,
Pos
:
93
37
,
Oid
:
3
,
Tid
:
0x0285cbad3f258c66
,
PrevRevPos
:
76
09
,
TxnPos
:
92
30
,
PrevRevPos
:
76
23
,
TxnPos
:
92
44
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
g1.14q
\x02
."
),
...
...
@@ -1474,7 +1474,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
94
03
,
Pos
:
94
17
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1489,11 +1489,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
9
496
,
Pos
:
9
510
,
Oid
:
3
,
Tid
:
0x0285cbad43d70ab3
,
PrevRevPos
:
93
23
,
TxnPos
:
94
03
,
PrevRevPos
:
93
37
,
TxnPos
:
94
17
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
g1.15q
\x02
."
),
...
...
@@ -1504,7 +1504,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
95
76
,
Pos
:
95
90
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1519,11 +1519,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
96
69
,
Pos
:
96
83
,
Oid
:
2
,
Tid
:
0x0285cbad48888900
,
PrevRevPos
:
81
19
,
TxnPos
:
95
76
,
PrevRevPos
:
81
33
,
TxnPos
:
95
90
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
d1.16q
\x02
."
),
...
...
@@ -1534,7 +1534,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
97
49
,
Pos
:
97
63
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1549,11 +1549,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
98
42
,
Pos
:
98
56
,
Oid
:
3
,
Tid
:
0x0285cbad4d3a074c
,
PrevRevPos
:
9
496
,
TxnPos
:
97
49
,
PrevRevPos
:
9
510
,
TxnPos
:
97
63
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
g1.17q
\x02
."
),
...
...
@@ -1564,7 +1564,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
99
22
,
Pos
:
99
36
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1579,11 +1579,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
100
15
,
Pos
:
100
29
,
Oid
:
1
,
Tid
:
0x0285cbad51eb8599
,
PrevRevPos
:
79
49
,
TxnPos
:
99
22
,
PrevRevPos
:
79
63
,
TxnPos
:
99
36
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
f1.18q
\x02
."
),
...
...
@@ -1594,7 +1594,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
10
095
,
Pos
:
10
109
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1609,11 +1609,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
10
188
,
Pos
:
10
202
,
Oid
:
5
,
Tid
:
0x0285cbad569d03e6
,
PrevRevPos
:
88
04
,
TxnPos
:
10
095
,
PrevRevPos
:
88
18
,
TxnPos
:
10
109
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
a1.19q
\x02
."
),
...
...
@@ -1624,7 +1624,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
102
68
,
Pos
:
102
82
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1639,11 +1639,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
103
61
,
Pos
:
103
75
,
Oid
:
3
,
Tid
:
0x0285cbad5b4e8233
,
PrevRevPos
:
98
42
,
TxnPos
:
102
68
,
PrevRevPos
:
98
56
,
TxnPos
:
102
82
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
g1.20q
\x02
."
),
...
...
@@ -1654,7 +1654,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
104
41
,
Pos
:
104
55
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1669,11 +1669,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
105
34
,
Pos
:
105
48
,
Oid
:
3
,
Tid
:
0x0285cbad60000080
,
PrevRevPos
:
103
61
,
TxnPos
:
104
41
,
PrevRevPos
:
103
75
,
TxnPos
:
104
55
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
g1.21q
\x02
."
),
...
...
@@ -1684,7 +1684,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
106
14
,
Pos
:
106
28
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1699,11 +1699,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
107
07
,
Pos
:
107
21
,
Oid
:
6
,
Tid
:
0x0285cbad64b17ecc
,
PrevRevPos
:
91
50
,
TxnPos
:
106
14
,
PrevRevPos
:
91
64
,
TxnPos
:
106
28
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
e1.22q
\x02
."
),
...
...
@@ -1714,7 +1714,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
10
787
,
Pos
:
10
801
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1729,11 +1729,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
108
80
,
Pos
:
108
94
,
Oid
:
5
,
Tid
:
0x0285cbad6962fd19
,
PrevRevPos
:
10
188
,
TxnPos
:
10
787
,
PrevRevPos
:
10
202
,
TxnPos
:
10
801
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
a1.23q
\x02
."
),
...
...
@@ -1744,7 +1744,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
109
60
,
Pos
:
109
74
,
LenPrev
:
173
,
Len
:
173
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1759,11 +1759,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
110
53
,
Pos
:
110
67
,
Oid
:
5
,
Tid
:
0x0285cbad6e147b66
,
PrevRevPos
:
108
80
,
TxnPos
:
109
60
,
PrevRevPos
:
108
94
,
TxnPos
:
109
74
,
DataLen
:
30
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
a1.24q
\x02
."
),
...
...
@@ -1774,7 +1774,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
111
33
,
Pos
:
111
47
,
LenPrev
:
173
,
Len
:
215
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1789,14 +1789,14 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
11
290
,
Pos
:
11
304
,
Oid
:
6
,
Tid
:
0x0285cbad77777800
,
PrevRevPos
:
107
07
,
TxnPos
:
111
33
,
PrevRevPos
:
107
21
,
TxnPos
:
111
47
,
DataLen
:
0
,
},
[]
byte
(
"
\x00\x00\x00\x00\x00\x00
#
\x
be
"
),
[]
byte
(
"
\x00\x00\x00\x00\x00\x00
#
\x
cc
"
),
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
e1.13q
\x02
."
),
0x0285cbad3a740e19
,
},
...
...
@@ -1804,7 +1804,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
113
48
,
Pos
:
113
62
,
LenPrev
:
215
,
Len
:
216
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1819,14 +1819,14 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
115
06
,
Pos
:
115
20
,
Oid
:
5
,
Tid
:
0x0285cbad7c28f64c
,
PrevRevPos
:
110
53
,
TxnPos
:
113
48
,
PrevRevPos
:
110
67
,
TxnPos
:
113
62
,
DataLen
:
0
,
},
[]
byte
(
"
\x00\x00\x00\x00\x00\x00
*
\x8
0
"
),
[]
byte
(
"
\x00\x00\x00\x00\x00\x00
*
\x8
e
"
),
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x05
a1.23q
\x02
."
),
0x0285cbad6962fd19
,
},
...
...
@@ -1834,7 +1834,7 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
115
64
,
Pos
:
115
78
,
LenPrev
:
216
,
Len
:
370
,
TxnInfo
:
zodb
.
TxnInfo
{
...
...
@@ -1849,11 +1849,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
11
598
,
Pos
:
11
612
,
Oid
:
0
,
Tid
:
0x0285cbad80da7499
,
PrevRevPos
:
6302
,
TxnPos
:
115
64
,
TxnPos
:
115
78
,
DataLen
:
216
,
},
[]
byte
(
"cpersistent.mapping
\n
PersistentMapping
\n
q
\x01
.}q
\x02
U
\x04
dataq
\x03
}q
\x04
(U
\x01
a(U
\x08\x00\x00\x00\x00\x00\x00\x00\x05
q
\x05
c__main__
\n
Object
\n
q
\x06
tQU
\x01
c(U
\x08\x00\x00\x00\x00\x00\x00\x00\x08
q
\x07
h
\x06
tQU
\x01
b(U
\x08\x00\x00\x00\x00\x00\x00\x00\x04
q
\x08
h
\x06
tQU
\x01
e(U
\x08\x00\x00\x00\x00\x00\x00\x00\t
q
\t
h
\x06
tQU
\x01
d(U
\x08\x00\x00\x00\x00\x00\x00\x00\x02
q
\n
h
\x06
tQU
\x01
g(U
\x08\x00\x00\x00\x00\x00\x00\x00\x03
q
\x0b
h
\x06
tQU
\x01
f(U
\x08\x00\x00\x00\x00\x00\x00\x00\x01
q
\x0c
h
\x06
tQus."
),
...
...
@@ -1862,11 +1862,11 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
DataHeader
{
Pos
:
118
56
,
Pos
:
118
70
,
Oid
:
9
,
Tid
:
0x0285cbad80da7499
,
PrevRevPos
:
0
,
TxnPos
:
115
64
,
TxnPos
:
115
78
,
DataLen
:
28
,
},
[]
byte
(
"c__main__
\n
Object
\n
q
\x01
.U
\x03
e1*q
\x02
."
),
...
...
@@ -1877,14 +1877,14 @@ var _1fs_dbEntryv = [...]dbEntry{
},
{
TxnHeader
{
Pos
:
119
34
,
Pos
:
119
48
,
LenPrev
:
370
,
Len
:
2
00
,
Len
:
2
14
,
TxnInfo
:
zodb
.
TxnInfo
{
Tid
:
0x0285cbad858bf2e6
,
Status
:
' '
,
User
:
[]
byte
(
"root1
\n
Your
\n
Royal
\n
Magesty "
),
Description
:
[]
byte
(
"delete 1
\n
alpha beta gamma
\n\n
qqq ..."
),
User
:
[]
byte
(
"root1
\n
Your
\n
Royal
\n
Magesty
'
"
),
Description
:
[]
byte
(
"delete 1
\n
alpha beta gamma
'delta
\"
lambda
\n\n
qqq ..."
),
Extension
:
[]
byte
(
"}q
\x01
(U
\t
x-cookieSU
\x05
MC4OMU
\x0b
x-generatorq
\x02
U
\x13
zodb/py2 (delete 6)u."
),
},
},
...
...
@@ -1892,11 +1892,11 @@ var _1fs_dbEntryv = [...]dbEntry{
[]
txnEntry
{
{
DataHeader
{
Pos
:
12
076
,
Pos
:
12
104
,
Oid
:
6
,
Tid
:
0x0285cbad858bf2e6
,
PrevRevPos
:
11
290
,
TxnPos
:
119
34
,
PrevRevPos
:
11
304
,
TxnPos
:
119
48
,
DataLen
:
0
,
},
[]
byte
(
"
\x00\x00\x00\x00\x00\x00\x00\x00
"
),
...
...
t/neo/zodb/cmd/zodbdump/testdata/1.zdump.pyok
View file @
c0d4586b
No preview for this file type
t/neo/zodb/cmd/zodbdump/zodbdump_test.go
View file @
c0d4586b
...
...
@@ -2,7 +2,7 @@
package
main
//go:generate sh -c "python2 -m zodbtool.zodbdump testdata/1.conf >testdata/1.zdump.pyok"
//go:generate sh -c "python2 -m zodbtool
s
.zodbdump testdata/1.conf >testdata/1.zdump.pyok"
import
(
"bytes"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment