From 834df9d98279be72459ef33185f79c1138ca3d60 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Thu, 28 May 2015 14:39:47 +0530 Subject: [PATCH] - bug #4923 Do not limit table comments to 60 characters Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/operations.lib.php | 4 +++- libraries/tbl_columns_definition_form.lib.php | 10 ++++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index af28623407..734530b4f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ phpMyAdmin - ChangeLog - bug #4924 Recaptcha failure - bug #4930 Database copy doesn't work for tables with more than one FULLTEXT index - bug #4929 Edit view structure doesn't load the algorithm +- bug #4923 Do not limit table comments to 60 characters 4.4.7.0 (2015-05-16) - bug #4876 Settings issues (Favorite tables shown twice in Settings) diff --git a/libraries/operations.lib.php b/libraries/operations.lib.php index 782d6e0eb9..220fe42477 100644 --- a/libraries/operations.lib.php +++ b/libraries/operations.lib.php @@ -743,8 +743,10 @@ function PMA_getTableOptionFieldset($comment, $tbl_collation, . ''; //Table comments + $commentLength = PMA_MYSQL_INT_VERSION >= 50503 ? 2048 : 60; $html_output .= '' . __('Table comments') . '' - . '' . '' diff --git a/libraries/tbl_columns_definition_form.lib.php b/libraries/tbl_columns_definition_form.lib.php index ce49a0ef47..9626ac6eb7 100644 --- a/libraries/tbl_columns_definition_form.lib.php +++ b/libraries/tbl_columns_definition_form.lib.php @@ -83,8 +83,10 @@ function PMA_getHtmlForTableConfigurations() . '' . ''; + $commentLength = PMA_MYSQL_INT_VERSION >= 50503 ? 2048 : 60; $html .= '' - . ''; return $html; -} +} /** * Function to get html for the create table or field add view