Marius Cramer
2013-10-21 3bf002475c6a1c14b07e1c17a6b31ea90607099b
Merge branch 'master' of /home/git/repositories/florian030/ispconfig3
1 files modified
2 ■■■ changed files
server/lib/classes/db_mysql.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/db_mysql.inc.php
@@ -280,7 +280,7 @@
                        return;
                }
                /* Get database-size from information_schema */
                $result=mysql_query("SELECT SUM(data_length+index_length) FROM information_schema.TABLES WHERE table_schema='".$database_name."';",$link);
        $result=mysql_query("SELECT SUM(data_length+index_length) FROM information_schema.TABLES WHERE table_schema='".mysql_real_escape_string($database_name)."';",$link);
                $this->close;
                if (!$result) {
                        $app->log('Unable to get the database-size'.mysql_error($link),LOGLEVEL_DEBUG);