Update mysql.js

This commit is contained in:
midoks
2022-11-03 11:51:10 +08:00
parent 5b9bd6e0bf
commit 57786cb95a
+1 -1
View File
@@ -89,7 +89,7 @@ function runInfo(){
}
// Com_select , Qcache_inserts
var cache_size = ((parseInt(rdata.Qcache_hits) / (parseInt(rdata.Qcache_hits) + parseInt(rdata.Com_select))) * 100).toFixed(2) + '%';
var cache_size = ((parseInt(rdata.Qcache_hits) / (parseInt(rdata.Qcache_hits) + parseInt(rdata.Qcache_inserts))) * 100).toFixed(2) + '%';
if (cache_size == 'NaN%') cache_size = 'OFF';
var Con = '<div class="divtable"><table class="table table-hover table-bordered" style="margin-bottom:10px;background-color:#fafafa">\
<tbody>\