List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:September 21 2010 3:32pm
Subject:bzr commit into mysql-next-mr-persistent-stats branch (vasil.dimov:3274)
View as plain text  
#At file:///usr/local/devel/bzrroot/server/mysql-next-mr-persistent-stats/ based on revid:vasil.dimov@stripped

 3274 Vasil Dimov	2010-09-21
      Remove redundant variables.
      
      Those are already declared and initialized in the same way earlier.

    modified:
      storage/innobase/dict/dict0stats.c
=== modified file 'storage/innobase/dict/dict0stats.c'
--- a/storage/innobase/dict/dict0stats.c	revid:vasil.dimov@stripped
+++ b/storage/innobase/dict/dict0stats.c	revid:vasil.dimov@stripped
@@ -378,19 +378,6 @@ dict_stats_table_check(
 			& req_schema->columns[i].prtype_mask)
 		       != req_schema->columns[i].prtype_mask) {
 
-			char	req_type[64];
-			char	actual_type[64];
-
-			dtype_sql_name(req_schema->columns[i].mtype,
-				       req_schema->columns[i].prtype_mask,
-				       req_schema->columns[i].len,
-				       req_type, sizeof(req_type));
-
-			dtype_sql_name(table->cols[j].mtype,
-				       table->cols[j].prtype,
-				       table->cols[j].len,
-				       actual_type, sizeof(actual_type));
-
 			ut_print_timestamp(stderr);
 			fprintf(stderr,
 				" InnoDB: Column %s.%s is %s "


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20100921153052-lk4zflqav7z3zo1y.bundle
Thread
bzr commit into mysql-next-mr-persistent-stats branch (vasil.dimov:3274) vasil.dimov21 Sep