Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
timothe
duniter
Commits
123be48c
Commit
123be48c
authored
Mar 29, 2019
by
Cédric Moreau
Browse files
[fix] `dump table b_index` was broken
parent
a9b0b786
Changes
1
Show whitespace changes
Inline
Side-by-side
app/modules/dump.ts
View file @
123be48c
...
@@ -159,6 +159,7 @@ async function dumpTable(server: Server, name: string, condition?: string) {
...
@@ -159,6 +159,7 @@ async function dumpTable(server: Server, name: string, condition?: string) {
switch
(
name
)
{
switch
(
name
)
{
case
'
b_index
'
:
case
'
b_index
'
:
rows
=
await
server
.
dal
.
bindexDAL
.
findRawWithOrder
(
criterion
,
[[
'
number
'
,
false
]])
rows
=
await
server
.
dal
.
bindexDAL
.
findRawWithOrder
(
criterion
,
[[
'
number
'
,
false
]])
dump
(
rows
,
[
'
version
'
,
'
bsize
'
,
'
hash
'
,
'
issuer
'
,
'
time
'
,
'
number
'
,
'
membersCount
'
,
'
issuersCount
'
,
'
issuersFrame
'
,
'
issuersFrameVar
'
,
'
issuerDiff
'
,
'
avgBlockSize
'
,
'
medianTime
'
,
'
dividend
'
,
'
mass
'
,
'
unitBase
'
,
'
powMin
'
,
'
udTime
'
,
'
udReevalTime
'
,
'
diffNumber
'
,
'
speed
'
,
'
massReeval
'
])
break
break
/**
/**
...
...
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