Patch #559618 - procedure analyse(), thanks to Mike Beck

This commit is contained in:
Loïc Chapeaux
2002-05-24 09:56:11 +00:00
parent 917a852b48
commit 7067bbc38e
4 changed files with 14 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ $Source$
- Search into database, thanks to Thomas Chaumeny <chaume92 at aol.com>.
* libraries/functions.js, lines 15-17: fixed bug #559815 - Javascript
problem with Opera.
* tbl_properties_structure.php3, lines 541-549; lang/*: patch #559618 -
procedure analyse(), thanks to Mike Beck.
2002-05-23 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html, config.inc.php3, db_details_structure.php3,

View File

@@ -329,6 +329,7 @@ $strStrucData = 'Structure and data';
$strStrucDrop = 'Add \'drop table\'';
$strStrucExcelCSV = 'CSV for Ms Excel data';
$strStrucOnly = 'Structure only';
$strStructPropose = 'Propose table structure';
$strStructure = 'Structure';
$strSubmit = 'Submit';
$strSuccess = 'Your SQL-query has been executed successfully';

View File

@@ -329,6 +329,7 @@ $strStrucData = 'Structure et donn
$strStrucDrop = 'Ajouter des <20>nonc<6E>s "drop table"';
$strStrucExcelCSV = 'Donn<6E>es CSV pour Ms Excel';
$strStrucOnly = 'Structure seule';
$strStructPropose = 'Sugg<67>rer des optimisations quant <20> la structure de la table';
$strStructure = 'Structure';
$strSubmit = 'Ex<45>cuter';
$strSuccess = 'Votre requ<71>te SQL a <20>t<EFBFBD> ex<65>cut<75>e avec succ<63>s';

View File

@@ -538,8 +538,18 @@ if ($cfg['Server']['relation']) {
}
echo "\n";
?>
<!-- Let MySQL propose the optimal structure -->
<li>
<div style="margin-bottom: 10px">
<a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('SELECT * FROM ' . PMA_backquote($table) . ' PROCEDURE analyse()'); ?>">
<?php echo $strStructPropose; ?></a>
</div>
</li>
</ul>
<?php
/**
* Displays the footer