Commit 8fe3d04e authored by Vasil Dimov's avatar Vasil Dimov

(ha_innodb.cc:7202) Bug#55227 Fix compiler warnings in innodb with gcc 4.6

parent 1bcb1d2d
...@@ -7199,7 +7199,6 @@ innobase_drop_database( ...@@ -7199,7 +7199,6 @@ innobase_drop_database(
ulint len = 0; ulint len = 0;
trx_t* trx; trx_t* trx;
char* ptr; char* ptr;
int error;
char* namebuf; char* namebuf;
THD* thd = current_thd; THD* thd = current_thd;
...@@ -7242,7 +7241,7 @@ innobase_drop_database( ...@@ -7242,7 +7241,7 @@ innobase_drop_database(
#else #else
trx = innobase_trx_allocate(thd); trx = innobase_trx_allocate(thd);
#endif #endif
error = row_drop_database_for_mysql(namebuf, trx); row_drop_database_for_mysql(namebuf, trx);
my_free(namebuf); my_free(namebuf);
/* Flush the log to reduce probability that the .frm files and /* Flush the log to reduce probability that the .frm files and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment