updated database list:

- added PMA_getServerCollation()
  - display server collation in db list footer
- added PMA_DBI_get_databases_full()
  - make use of info_schema on MySQL 5
  - always display db stats for MySQL 5
- fixed html output
- replaced " with ' in some queries
This commit is contained in:
Sebastian Mendel
2005-11-05 19:48:05 +00:00
parent d3a3f2aeb8
commit 39ecba0de6
4 changed files with 392 additions and 298 deletions

View File

@@ -358,6 +358,16 @@ if (PMA_MYSQL_INT_VERSION >= 40100){
return ' CHARACTER SET ' . $charset . ($charset == $collation ? '' : ' COLLATE ' . $collation);
}
/**
* returns default server collation from show variables
*
* @uses PMA_DBI_fetch_value()
* @return string $server_collation
*/
function PMA_getServerCollation() {
return PMA_DBI_fetch_value(
'SHOW VARIABLES LIKE \'collation_server\'', 0, 1 );
}
}
?>