You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Show Progress column only on MariaDB
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
This commit is contained in:
@@ -133,14 +133,18 @@ final class Processes
|
||||
'column_name' => __('Status'),
|
||||
'order_by_field' => 'State',
|
||||
],
|
||||
[
|
||||
];
|
||||
|
||||
if ($this->dbi->isMariaDB()) {
|
||||
$sortableColumns[] = [
|
||||
'column_name' => __('Progress'),
|
||||
'order_by_field' => 'Progress',
|
||||
],
|
||||
[
|
||||
'column_name' => __('SQL query'),
|
||||
'order_by_field' => 'Info',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
$sortableColumns[] = [
|
||||
'column_name' => __('SQL query'),
|
||||
'order_by_field' => 'Info',
|
||||
];
|
||||
|
||||
$sortableColCount = count($sortableColumns);
|
||||
|
||||
@@ -75,7 +75,9 @@
|
||||
<td>{{ row.command }}</td>
|
||||
<td class="font-monospace text-end">{{ row.time }}</td>
|
||||
<td>{{ row.state }}</td>
|
||||
<td>{{ row.progress }}</td>
|
||||
{% if is_mariadb %}
|
||||
<td>{{ row.progress }}</td>
|
||||
{% endif %}
|
||||
<td>{{ row.info|raw }}</td>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user