jshn: fix check to reset array sequence counters on cleanup
This commit is contained in:
parent
0505bf5f42
commit
4d0a00c82c
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ _json_add_table() {
|
||||||
local table="JSON_$itype$seq"
|
local table="JSON_$itype$seq"
|
||||||
_json_export "UP_$table" "$cur"
|
_json_export "UP_$table" "$cur"
|
||||||
_json_export "KEYS_$table" ""
|
_json_export "KEYS_$table" ""
|
||||||
[ "$TYPE" = "ARRAY" ] && _json_export "SEQ_$table" ""
|
[ "$itype" = "ARRAY" ] && _json_export "SEQ_$table" ""
|
||||||
_json_stack_push "$table"
|
_json_stack_push "$table"
|
||||||
|
|
||||||
_json_get_var new_cur JSON_CUR
|
_json_get_var new_cur JSON_CUR
|
||||||
|
|
Loading…
Reference in a new issue