Skip to content

Commit

Permalink
🐛 information_schema单词拼错
Browse files Browse the repository at this point in the history
  • Loading branch information
kongnet committed Aug 16, 2019
1 parent 8f017a2 commit 22548d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/9-mysql-chart/service/mysqlProbe.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function getTableColumnSize () {
arr[obj[item.dbName]].children.push({ name: item.tableComment + '\n' + item.tableName + '\n\n' + ((item.rowCount + '').toMoney(2)), value: item.rowCount || 0 })
arrSize[obj[item.dbName]].children.push({ name: item.tableComment + '\n' + item.tableName + '\n\n' + ((item.dataSize + '').toMoney(2)), value: item.dataSize || 0 })
} else {
if (!['performance_schema', 'mysql', 'infomation_schema', 'sys', 'happyminer_test'].includes(item.dbName)) {
if (!['performance_schema', 'mysql', 'information_schema', 'sys', 'happyminer_test'].includes(item.dbName)) {
arr.push({ name: item.dbName, children: [] })
arrSize.push({ name: item.dbName, children: [] })
obj[item.dbName] = arr.length - 1
Expand Down
2 changes: 1 addition & 1 deletion output-template/service/mysqlProbe.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function getTableColumnSize () {
arr[obj[item.dbName]].children.push({ name: item.tableComment + '\n' + item.tableName + '\n\n' + ((item.rowCount + '').toMoney(2)), value: item.rowCount || 0 })
arrSize[obj[item.dbName]].children.push({ name: item.tableComment + '\n' + item.tableName + '\n\n' + ((item.dataSize + '').toMoney(2)), value: item.dataSize || 0 })
} else {
if (!['performance_schema', 'mysql', 'infomation_schema', 'sys', 'happyminer_test'].includes(item.dbName)) {
if (!['performance_schema', 'mysql', 'information_schema', 'sys', 'happyminer_test'].includes(item.dbName)) {
arr.push({ name: item.dbName, children: [] })
arrSize.push({ name: item.dbName, children: [] })
obj[item.dbName] = arr.length - 1
Expand Down

0 comments on commit 22548d0

Please sign in to comment.