From 294125ea326acd6a7fe90c6e200c3ce1c346e38a Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Wed, 26 Apr 2006 14:57:10 +0000 Subject: [PATCH] bug m_mysql corrected --- bureau/class/m_mysql.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/bureau/class/m_mysql.php b/bureau/class/m_mysql.php index 813aeca9..564e3ae4 100644 --- a/bureau/class/m_mysql.php +++ b/bureau/class/m_mysql.php @@ -310,7 +310,6 @@ class m_mysql { } elseif (substr($fi,-4)==".bz2") { $exe="/bin/bunzip2 -d -c <".escapeshellarg($fi)." | /usr/bin/mysql -h".escapeshellarg($L_MYSQL_HOST)." -u".escapeshellarg($r["login"])." -p".escapeshellarg($r["pass"])." ".escapeshellarg($r["db"]); } else { - { $exe="/usr/bin/mysql -h".escapeshellarg($L_MYSQL_HOST)." -u".escapeshellarg($r["login"])." -p".escapeshellarg($r["pass"])." ".escapeshellarg($r["db"])." <".escapeshellarg($fi); } $exe .= " 2>&1"; @@ -337,7 +336,6 @@ class m_mysql { */ function get_db_size($dbname) { global $db,$err; - $db->query("SHOW TABLE STATUS FROM `$dbname`;"); $size = 0; while ($db->next_record()) {