diff --git a/db_datadict.php b/db_datadict.php index b8bc9d76e..77de08ed2 100644 --- a/db_datadict.php +++ b/db_datadict.php @@ -42,7 +42,7 @@ if ($cfgRelation['commwork']) { */ if (is_array($comment)) { ?> -

+

+ ?> @@ -238,14 +238,16 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) { // here, we have a TIMESTAMP that SHOW FULL FIELDS reports as having the // NULL attribute, but SHOW CREATE TABLE says the contrary. Believe // the latter. - // TODO: merge this logic with the one in tbl_properties_structure.php - // or move it in a function similar to PMA_DBI_get_columns_full() - // but based on SHOW CREATE TABLE because information_schema - // cannot be trusted in this case (MySQL bug) + /** + * @todo merge this logic with the one in tbl_properties_structure.php + * or move it in a function similar to PMA_DBI_get_columns_full() + * but based on SHOW CREATE TABLE because information_schema + * cannot be trusted in this case (MySQL bug) + */ if (!empty($analyzed_sql[0]['create_table_fields'][$field_name]['type']) && $analyzed_sql[0]['create_table_fields'][$field_name]['type'] == 'TIMESTAMP' && $analyzed_sql[0]['create_table_fields'][$field_name]['timestamp_not_null']) { $row['Null'] = ''; } - ?> + ?> xml:lang="en" dir="ltr"> >*/ ?> @@ -291,7 +293,7 @@ while ($row = PMA_DBI_fetch_assoc($rowset)) { } // end while PMA_DBI_free_result( $result ); $count++; - ?> + ?>
+ ?>
+?> - $vrow) { echo ' '; // find maximum upload size, based on field type - // FIXME: with functions this is not so easy, as you can basically process any data with function like MD5 + /** + * @todo with functions this is not so easy, as you can basically + * process any data with function like MD5 + */ $max_field_sizes = array( 'tinyblob' => '256', 'blob' => '65536', @@ -942,9 +947,9 @@ if (isset($primary_key)) { diff --git a/tbl_printview.php b/tbl_printview.php index 26154b2f3..3b3e3b9f3 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -110,7 +110,7 @@ foreach ($the_tables as $key => $table) { PMA_DBI_QUERY_STORE); $fields_cnt = PMA_DBI_num_rows($result); - + // We need this to correctly learn if a TIMESTAMP is NOT NULL, since // SHOW FULL FIELDS or INFORMATION_SCHEMA incorrectly says NULL // and SHOW CREATE TABLE says NOT NULL (tested @@ -220,10 +220,12 @@ foreach ($the_tables as $key => $table) { // here, we have a TIMESTAMP that SHOW FULL FIELDS reports as having the // NULL attribute, but SHOW CREATE TABLE says the contrary. Believe // the latter. - // TODO: merge this logic with the one in tbl_properties_structure.php - // or move it in a function similar to PMA_DBI_get_columns_full() - // but based on SHOW CREATE TABLE because information_schema - // cannot be trusted in this case (MySQL bug) + /** + * @todo merge this logic with the one in tbl_properties_structure.php + * or move it in a function similar to PMA_DBI_get_columns_full() + * but based on SHOW CREATE TABLE because information_schema + * cannot be trusted in this case (MySQL bug) + */ if (!empty($analyzed_sql[0]['create_table_fields'][$field_name]['type']) && $analyzed_sql[0]['create_table_fields'][$field_name]['type'] == 'TIMESTAMP' && $analyzed_sql[0]['create_table_fields'][$field_name]['timestamp_not_null']) { $row['Null'] = ''; } diff --git a/tbl_replace.php b/tbl_replace.php index cea073715..aa78eb561 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -276,8 +276,9 @@ if ($total_affected_rows != 0) { $message .= $last_message; if (!empty($warning_message)) { - // TODO: use a
in PMA_showMessage() - // for this part of the message + /** + * @todo use a
in PMA_showMessage() for this part of the message + */ $message .= '[br]' . $warning_message; }