1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Remove unused variable detected by GCC 4.6.1.

This commit is contained in:
unknown
2011-11-12 12:03:27 +02:00
parent 1d721d0106
commit 7ab789ef33

View File

@@ -4924,7 +4924,7 @@ ha_innobase::build_template(
{
dict_index_t* index;
dict_index_t* clust_index;
ulint n_fields, n_stored_fields;
ulint n_stored_fields;
ibool fetch_all_in_key = FALSE;
ibool fetch_primary_key_cols = FALSE;
ulint i, sql_idx;
@@ -4976,7 +4976,6 @@ ha_innobase::build_template(
/* Below we check column by column if we need to access
the clustered index. */
n_fields = (ulint)table->s->fields; /* number of columns */
n_stored_fields= (ulint)table->s->stored_fields; /* number of stored columns */
if (!prebuilt->mysql_template) {