Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b614b322a0
@ -77,6 +77,7 @@ VerboseMultiSubmit, ReplaceHelpImg
|
||||
+ [designer] Fullscreen mode for the designer
|
||||
+ Upgraded jquery to v1.8.3 and jquery-ui to v1.9.2
|
||||
+ Patch #3597529 [status] Add raw value as title on server status page
|
||||
+ Support MySQL 5.6 partitioning
|
||||
|
||||
3.5.6.0 (not yet released)
|
||||
- bug #3593604 [status] Erroneous advisor rule
|
||||
|
||||
@ -45,8 +45,25 @@ class PMA_Partition
|
||||
static $already_checked = false;
|
||||
|
||||
if (! $already_checked) {
|
||||
$have_partitioning = PMA_MYSQL_INT_VERSION >= 50100 && PMA_DBI_fetch_value("SHOW VARIABLES LIKE 'have_partitioning';");
|
||||
if (PMA_MYSQL_INT_VERSION >= 50100) {
|
||||
if (PMA_MYSQL_INT_VERSION < 50600) {
|
||||
if (PMA_DBI_fetch_value(
|
||||
"SHOW VARIABLES LIKE 'have_partitioning';"
|
||||
)) {
|
||||
$have_partitioning = true;
|
||||
}
|
||||
} else {
|
||||
// see http://dev.mysql.com/doc/refman/5.6/en/partitioning.html
|
||||
$plugins = PMA_DBI_fetch_result("SHOW PLUGINS");
|
||||
foreach ($plugins as $key => $value) {
|
||||
if ($value['Name'] == 'partition') {
|
||||
$have_partitioning = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
$already_checked = true;
|
||||
}
|
||||
}
|
||||
return $have_partitioning;
|
||||
}
|
||||
|
||||
@ -1546,9 +1546,9 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
|
||||
*
|
||||
* @param string|mysql_result $result query or mysql result
|
||||
* @param integer $row_number row to fetch the value from,
|
||||
* starting at 0, with 0 beeing default
|
||||
* starting at 0, with 0 being default
|
||||
* @param integer|string $field field to fetch the value from,
|
||||
* starting at 0, with 0 beeing default
|
||||
* starting at 0, with 0 being default
|
||||
* @param resource $link mysql link
|
||||
*
|
||||
* @return mixed value of first field in first row from result
|
||||
|
||||
Loading…
Reference in New Issue
Block a user