mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
delted unnecessary backslashes
This commit is contained in:
parent
f65edd6056
commit
8aff5db015
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ unsuspend_pgsql_database() {
|
|||
# Get MySQL disk usage
|
||||
get_mysql_disk_usage() {
|
||||
mysql_connect $HOST
|
||||
query="SELECT SUM( data_length + index_length ) / 1024 / 1024 \'Size\'
|
||||
query="SELECT SUM( data_length + index_length ) / 1024 / 1024 'Size'
|
||||
FROM information_schema.TABLES WHERE table_schema='$database'"
|
||||
usage=$(mysql_query "$query" |tail -n1)
|
||||
if [ "$usage" == '' ] || [ "$usage" == 'NULL' ] || [ "${usage:0:1}" -eq '0' ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue