(xdmeta): Fix the printing of the number of rows dumped.
Incorrectly included the skipped rows.
This commit is contained in:
parent
a4fcd52cd0
commit
0d0800f4ac
1 changed files with 3 additions and 1 deletions
|
@ -250,6 +250,7 @@ xdmeta(int type)
|
|||
{
|
||||
struct castr *ca = ef_cadef(type);
|
||||
int i;
|
||||
int n = 0;
|
||||
|
||||
if (!ca)
|
||||
return RET_SYN;
|
||||
|
@ -262,10 +263,11 @@ xdmeta(int type)
|
|||
if (ca[i].ca_flags & NSC_EXTRA)
|
||||
continue;
|
||||
xdflds(mdchr_ca, &ca[i]);
|
||||
n++;
|
||||
pr("\n");
|
||||
}
|
||||
|
||||
xdftr(i);
|
||||
xdftr(n);
|
||||
|
||||
return RET_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue