From b6e1d517d0ebcd4b5d044abf122ac1b37bedf380 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 19 Jan 2019 16:49:50 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]