diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index fab37c5aa..e5d8f8c93 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -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]