bug #1602335, browse distinct values and name containing a quote
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
|||||||
$Id$
|
$Id$
|
||||||
$HeadURL$
|
$HeadURL$
|
||||||
|
|
||||||
|
2006-11-26 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* tbl_structure.php: bug #1602335, browse distinct values
|
||||||
|
and name containing a quote
|
||||||
|
|
||||||
2006-11-24 Marc Delisle <lem9@users.sourceforge.net>
|
2006-11-24 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php, Documentation.html: users can now toggle the display
|
* tbl_change.php, Documentation.html: users can now toggle the display
|
||||||
of the Function column from the interface
|
of the Function column from the interface
|
||||||
|
@@ -373,7 +373,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
|
|||||||
<td nowrap="nowrap"><?php if (isset($row['Default'])) { echo $row['Default']; } ?></td>
|
<td nowrap="nowrap"><?php if (isset($row['Default'])) { echo $row['Default']; } ?></td>
|
||||||
<td nowrap="nowrap"><?php echo $row['Extra']; ?></td>
|
<td nowrap="nowrap"><?php echo $row['Extra']; ?></td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="sql.php?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('SELECT COUNT(*) AS `' . $strRows . '`, `' . $row['Field'] . '` FROM `' . $table . '` GROUP BY `' . $row['Field'] . '` ORDER BY `' . $row['Field'] . '`'); ?>">
|
<a href="sql.php?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('SELECT COUNT(*) AS ' . PMA_backquote($strRows) . ', ' . PMA_backquote($row['Field']) . ' FROM ' . PMA_backquote($table) . ' GROUP BY ' . PMA_backquote($row['Field']) . ' ORDER BY ' . PMA_backquote($row['Field'])); ?>">
|
||||||
<?php echo $titles['BrowseDistinctValues']; ?></a>
|
<?php echo $titles['BrowseDistinctValues']; ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php if (! $tbl_is_view && ! $db_is_information_schema) { ?>
|
<?php if (! $tbl_is_view && ! $db_is_information_schema) { ?>
|
||||||
|
Reference in New Issue
Block a user