diff --git a/tbl_properties.php3 b/tbl_properties.php3
index 34edb1c3e..61c33dcf0 100755
--- a/tbl_properties.php3
+++ b/tbl_properties.php3
@@ -326,28 +326,68 @@ while ($row = mysql_fetch_array($fields_rs)) {
?>
+
+
|
+
+
|
+
+
|
= 32323) {
- echo "\n";
- ?>
+ if ((!empty($tbl_type) && $tbl_type == 'MYISAM')
+ && ($type == 'text' || strpos(' ' . $type, 'varchar'))) {
+ echo "\n";
+ ?>
|
-
+
+
+ |
+
@@ -1070,7 +1110,7 @@ if (PMA_MYSQL_INT_VERSION >= 32322) {
0) {
while ($tmp = mysql_fetch_array($result)) {
@@ -1128,9 +1168,10 @@ if (PMA_MYSQL_INT_VERSION >= 32322) {
echo "\n";
} // end MySQL >= 3.23.22
-else { // MySQL < 3.23.22
- // FIXME: find a way to know the table type, then let OPTIMIZE if MYISAM or
- // BDB
+// loic1: "OPTIMIZE" statement is available for MyISAM and BDB tables only and
+// MyISAM/BDB tables exists since MySQL 3.23.06/3.23.34
+else if (PMA_MYSQL_INT_VERSION >= 32306
+ && ($tbl_type == 'MYISAM' or $tbl_type == 'BDB')) {
?>
@@ -1143,7 +1184,7 @@ else { // MySQL < 3.23.22