Skip to content

Commit db5743f

Browse files
committed
Link tables referenced in the explain output
1 parent 017c536 commit db5743f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explain.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
ini_set('html_errors', 0);
43
require_once('init.php');
54

65
$return = array();
@@ -44,6 +43,7 @@
4443
$row['possible_keys'] = str_replace(',', ', ', $row['possible_keys']);
4544
$row['ref'] = str_replace(',', ', ', $row['ref']);
4645
$row['Extra'] = str_replace(array('Using ', ';'), array('', ', '), $row['Extra']);
46+
$row['table'] = linkTable($label, $database, $row['table']);
4747
foreach ($row as $key => $val) {
4848
if (is_null($row[$key]))
4949
$row[$key] = '';

0 commit comments

Comments
 (0)