From 0592b5cc05688af552fe30e80b2bf35858fea320 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 19 Jan 2019 15:57:43 +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 b4c567049..eb74888ef 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -845,7 +845,7 @@ def getDbInfo(): data_size = table[0][6] ret2['rows_count'] = table[0][4] ret2['collation'] = table[0][14] - ret2['data_size'] = public.toSize(int(data_size)) + ret2['data_size'] = public.toSize(data_size) ret2['table_name'] = i[0] ret3.append(ret2) except: