Commit 257eae33 authored by Aleksandr Kuzminsky's avatar Aleksandr Kuzminsky

Sync with rev. 156

parent a44daca9
...@@ -767,7 +767,7 @@ i_s_innodb_buffer_pool_pages_index_fill( ...@@ -767,7 +767,7 @@ i_s_innodb_buffer_pool_pages_index_fill(
dict_index_t* index; dict_index_t* index;
dulint index_id; dulint index_id;
char *p; const char *p;
char db_name_raw[NAME_LEN*5+1], db_name[NAME_LEN+1]; char db_name_raw[NAME_LEN*5+1], db_name[NAME_LEN+1];
char table_name_raw[NAME_LEN*5+1], table_name[NAME_LEN+1]; char table_name_raw[NAME_LEN*5+1], table_name[NAME_LEN+1];
...@@ -808,7 +808,7 @@ i_s_innodb_buffer_pool_pages_index_fill( ...@@ -808,7 +808,7 @@ i_s_innodb_buffer_pool_pages_index_fill(
p++; p++;
} else { } else {
field_store_string(table->field[0], NULL); field_store_string(table->field[0], NULL);
p = (char *)index->table_name; p = index->table_name;
} }
strcpy(table_name_raw, (const char*)p); strcpy(table_name_raw, (const char*)p);
filename_to_tablename(table_name_raw, table_name, sizeof(table_name)); filename_to_tablename(table_name_raw, table_name, sizeof(table_name));
......
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