Skip to content

Commit 25e96c3

Browse files
1 parent 56cdadb commit 25e96c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ unsuspend_pgsql_database() {
391391
# Get MySQL disk usage
392392
get_mysql_disk_usage() {
393393
mysql_connect $HOST
394-
query="SELECT SUM( data_length + index_length ) / 1024 / 1024 \"Size\"
394+
query="SELECT SUM( data_length + index_length ) / 1024 / 1024 \'Size\'
395395
FROM information_schema.TABLES WHERE table_schema='$database'"
396396
usage=$(mysql_query "$query" |tail -n1)
397397
if [ "$usage" == '' ] || [ "$usage" == 'NULL' ] || [ "${usage:0:1}" -eq '0' ]; then

0 commit comments

Comments
 (0)