This commit is contained in:
Steve Alberty
2001-08-04 14:18:58 +00:00
parent 0e038ac3d6
commit 7eac26503d
5 changed files with 9 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ if ($num_tables > 0 && MYSQL_MAJOR_VERSION >= 3.23 && intval(MYSQL_MINOR_VERSION
if ($result != FALSE && mysql_num_rows($result) > 0) {
while ($tmp = mysql_fetch_array($result)) {
// if in use memorize tablename
if (preg_match('/in_use=[1-9]+/', $tmp['Comment'])) {
if (eregi('in_use=[1-9]+', $tmp)) {
$sot_cache[$tmp[0]] = TRUE;
}
}
@@ -443,8 +443,8 @@ if ($num_tables > 0) {
<?php
// gzip and bzip2 encode features
if (PMA_INT_VERSION >= 40004) {
$is_gzip = ($cfgGZipDump && @function_exists('gzencode'));
$is_bzip = ($cfgBZipDump && @function_exists('bzcompress'));
$is_gzip = @function_exists('gzencode');
$is_bzip = @function_exists('bzcompress');
if ($is_gzip || $is_bzip) {
echo "\n" . ' (';
if ($is_gzip) {