From 7b684241bd13cffe2be180a5643b1b43733cbc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 Apr 2003 12:28:32 +0000 Subject: [PATCH] documented $cfg['MaxExactCount'] --- ChangeLog | 1 + Documentation.html | 9 +++++++++ Documentation.txt | 10 ++++++++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a11269d8..d8280e439 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ SELECT COUNT(*) only for small (<20000 rows) tables (RFE #708533). * config.inc.php3, db_details_structure.php3, libraries/common.lib.php3: $cfg['MaxExactCount'] is now used instead of hardcoded 20000 for above. + * Documentation.*: Documented above. * lang/albanian: Updated, thanks to Laurent Dhima (laurenti). * lang/galician: Added missing string. * lang/thai: Updated, thanks to Arthit Suriyawongkul. diff --git a/Documentation.html b/Documentation.html index 4fac0f425..3d1c5f9ce 100755 --- a/Documentation.html +++ b/Documentation.html @@ -1534,6 +1534,15 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'

+
$cfg['MaxExactCount'] integer
+
+ Determines for how large tables phpMyAdmin should get exact row count by + SELECT COUNT. If approximate row cound is smaller than this + value, SELECT COUNT will be used, otherwise only value + returned by SHOW TABLE STATUS. +

+
+
$cfg['SQP']['fmtType'] string [html|none]
The main use of the new SQL Parser is to pretty-print SQL queries. By diff --git a/Documentation.txt b/Documentation.txt index be81b1da0..bd14353d7 100644 --- a/Documentation.txt +++ b/Documentation.txt @@ -14,8 +14,8 @@ + Version history: ChangeLog + General notes: README + License: LICENSE - * Documentation version: $Id: Documentation.html,v 1.427 2003/04/10 - 16:38:46 nijel Exp $ + * Documentation version: $Id: Documentation.html,v 1.428 2003/04/10 + 16:48:30 nijel Exp $ Requirements @@ -1032,6 +1032,12 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' $cfg['BrowseMIME'] boolean Enable MIME-transformations. + $cfg['MaxExactCount'] integer + Determines for how large tables phpMyAdmin should get exact row + count by SELECT COUNT. If approximate row cound is smaller than + this value, SELECT COUNT will be used, otherwise only value + returned by SHOW TABLE STATUS. + $cfg['SQP']['fmtType'] string [html|none] The main use of the new SQL Parser is to pretty-print SQL queries. By default we use HTML to format the query, but you