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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user