From 3dd52636eb345577edc55158272fb4f12798b4f6 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 25 Jul 2012 08:19:41 -0400 Subject: [PATCH] Bypass InnoDB and views row counting by default, for performance reasons. See https://github.com/phpmyadmin/phpmyadmin/pull/83 for the discussion, but my commit changes the default values, not the sample values. --- libraries/config.default.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/config.default.php b/libraries/config.default.php index 55c6748cf7..7ba7d07195 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -2490,14 +2490,14 @@ $cfg['BrowseMIME'] = true; * * @global integer $cfg['MaxExactCount'] */ -$cfg['MaxExactCount'] = 20000; +$cfg['MaxExactCount'] = 0; /** * Zero means that no row count is done for views; see the doc * * @global integer $cfg['MaxExactCountViews'] */ -$cfg['MaxExactCountViews'] = 100000; +$cfg['MaxExactCountViews'] = 0; /** * Sort table and database in natural order