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.
This commit is contained in:
Marc Delisle 2012-07-25 08:19:41 -04:00
parent 31e157e6fe
commit 3dd52636eb

View File

@ -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