SQL-Server / Show variables:
- added column which outputs numeric values in human readable form (e.g. xx MB) MySQLi: - added option max_allowed_packet = 64MB at each connection for handling big blob fields (should be moved to general options array later on)
Dieser Commit ist enthalten in:
Ursprung
a87490e72f
Commit
bfc06577ff
3 geänderte Dateien mit 30 neuen und 11 gelöschten Zeilen
|
|
@ -19,20 +19,34 @@
|
|||
<th class="right">#</th>
|
||||
<th><strong><?php echo $this->lang->L_NAME;?></strong></th>
|
||||
<th><strong><?php echo $this->lang->L_VALUE;?></strong></th>
|
||||
<th class="nowrap"><?php echo $this->lang->L_INTERPRETED_AS_BYTES;?></th>
|
||||
</tr>
|
||||
<?php
|
||||
$i = 1;
|
||||
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
|
||||
foreach ($this->variables as $name => $value) : ?>
|
||||
foreach ($this->variables as $name => $value) {
|
||||
if (strpos($value, ',') !== false) {
|
||||
$value = str_replace(',', ', ', $value);
|
||||
}
|
||||
?>
|
||||
<tr class="<?php echo $cycleHelper->next()?>">
|
||||
<td class="small right"><?php echo $i;?>.</td>
|
||||
<td class="small"><?php echo $this->escape($name);?></td>
|
||||
<td class="small"><?php echo $this->escape($value);?></td>
|
||||
</tr>
|
||||
<?php
|
||||
++$i;
|
||||
endforeach;
|
||||
<td class="small nowrap">
|
||||
<?php
|
||||
if (is_numeric($value)) {
|
||||
echo $this->byteOutput($value);
|
||||
} else {
|
||||
echo '-';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
</tr><?php
|
||||
++$i;
|
||||
};
|
||||
?>
|
||||
</table>
|
||||
<br /><br /><br />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren