Skip to content

Commit c9cf98c

Browse files
author
guangninge
committed
修改table_record_length规则的格式
1 parent 9c4c96a commit c9cf98c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rule_analysis/rule/obj/table_record_length.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def execute_rule(**kwargs):
6262
character_octet_length = rec_col[2]
6363
numeric_precision = rec_col[3]
6464
numeric_scale = rec_col[4]
65-
if tmp_column_length:
66-
tmp_column_length = tmp_column_length + f_get_byte_length(data_type, character_octet_length, numeric_precision, numeric_scale)
65+
if tmp_column_length:
66+
tmp_column_length = tmp_column_length + f_get_byte_length(data_type, character_octet_length, numeric_precision, numeric_scale)
6767

6868
if tmp_column_length > record_length:
6969
return_tabs.append([rec_tab[0], rec_tab[1], tmp_column_length])

0 commit comments

Comments
 (0)