From 914692f56501cb2f4addc45e2d163380b4f4b34e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 8 Feb 2011 22:02:04 +0100 Subject: [PATCH 1/2] Whitespace cleanup --- tbl_change.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tbl_change.php b/tbl_change.php index d18f59d9c1..9cdd00da75 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -387,7 +387,7 @@ foreach ($rows as $row_id => $vrow) { || stripos($table_fields[$i]['Type'], 'varbinary') === 0) { $table_fields[$i]['is_binary'] = stristr($table_fields[$i]['Type'], 'binary'); } else { - $table_fields[$i]['is_binary'] = false; + $table_fields[$i]['is_binary'] = false; } // If check to ensure types such as "enum('one','two','blob',..)" or @@ -398,7 +398,7 @@ foreach ($rows as $row_id => $vrow) { || stripos($table_fields[$i]['Type'], 'longblob') === 0) { $table_fields[$i]['is_blob'] = stristr($table_fields[$i]['Type'], 'blob'); } else { - $table_fields[$i]['is_blob'] = false; + $table_fields[$i]['is_blob'] = false; } // If check to ensure types such as "enum('one','two','char',..)" or @@ -407,7 +407,7 @@ foreach ($rows as $row_id => $vrow) { || stripos($table_fields[$i]['Type'], 'varchar') === 0) { $table_fields[$i]['is_char'] = stristr($table_fields[$i]['Type'], 'char'); } else { - $table_fields[$i]['is_char'] = false; + $table_fields[$i]['is_char'] = false; } $table_fields[$i]['first_timestamp'] = false; From 677e5a5da74080c0b08d8ca3e159aedc82670e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 8 Feb 2011 22:03:18 +0100 Subject: [PATCH 2/2] rfe #3148361 [interface] Replace hard coded limit with $cfg[LimitChars]. --- ChangeLog | 1 + tbl_change.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5eac03fb72..c0214cb0df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -135,6 +135,7 @@ - [interface] Default to not count tables in database. - patch #3172172 [interface] Shortcut for copying table row. - bug #3175227 [auth] Reset user cache on login. +- rfe #3148361 [interface] Replace hard coded limit with $cfg['LimitChars']. 3.3.10.0 (not yet released) - patch #3147400 [structure] Aria table size printed as unknown, diff --git a/tbl_change.php b/tbl_change.php index 9cdd00da75..713f02d6fd 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -899,8 +899,8 @@ foreach ($rows as $row_id => $vrow) {