Update index.py

This commit is contained in:
Mr Chen
2019-01-19 16:49:50 +08:00
parent 030aa7b46c
commit 31e48ffc53
+1 -1
View File
@@ -854,9 +854,9 @@ def getDbInfo():
try:
ret2 = {}
ret2['type'] = table[0][1]
data_size = table[0][6]
ret2['rows_count'] = table[0][4]
ret2['collation'] = table[0][14]
data_size = table[0][6]+table[0][8]
ret2['data_byte'] = data_size
ret2['data_size'] = public.toSize(data_size)
ret2['table_name'] = i[0]