bug #1821264 [display] MaxTableList and INFORMATION_SCHEMA

This commit is contained in:
Marc Delisle
2007-12-27 23:50:45 +00:00
parent 8e0a78e0c6
commit ec408de34d
2 changed files with 4 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #1813508 [login] Missing parameter: field after re-login - bug #1813508 [login] Missing parameter: field after re-login
- bug #1710144 [parser] Space after COUNT breaks Export but not Query - bug #1710144 [parser] Space after COUNT breaks Export but not Query
- bug #1783620 [parser] Subquery results without "as" are ignored - bug #1783620 [parser] Subquery results without "as" are ignored
- bug #1821264 [display] MaxTableList and INFORMATION_SCHEMA
2.11.3.0 (2007-12-08) 2.11.3.0 (2007-12-08)
- patch #1818389 to remove a notice (failed to flush buffer), thanks to - patch #1818389 to remove a notice (failed to flush buffer), thanks to

View File

@@ -187,7 +187,7 @@ function PMA_DBI_get_tables($database, $link = null)
/** /**
* returns array of all tables in given db or dbs * returns array of all tables in given db or dbs
* this function expects unqoted names: * this function expects unquoted names:
* RIGHT: my_database * RIGHT: my_database
* WRONG: `my_database` * WRONG: `my_database`
* WRONG: my\_database * WRONG: my\_database
@@ -212,12 +212,13 @@ function PMA_DBI_get_tables($database, $link = null)
* @param string $table table * @param string $table table
* @param boolean|string $tbl_is_group $table is a table group * @param boolean|string $tbl_is_group $table is a table group
* @param resource $link mysql link * @param resource $link mysql link
* @param integer $limit_offset zero-based offset for the count
* @param boolean|integer $limit_count number of tables to return
* @return array list of tables in given db(s) * @return array list of tables in given db(s)
*/ */
function PMA_DBI_get_tables_full($database, $table = false, function PMA_DBI_get_tables_full($database, $table = false,
$tbl_is_group = false, $link = null, $limit_offset = 0, $limit_count = false) $tbl_is_group = false, $link = null, $limit_offset = 0, $limit_count = false)
{ {
// currently supported for MySQL >= 50002
if (true === $limit_count) { if (true === $limit_count) {
$limit_count = $GLOBALS['cfg']['MaxTableList']; $limit_count = $GLOBALS['cfg']['MaxTableList'];
} }