This fixes it
--- ha_innodb.orig 2009-11-10 23:43:08.000000000 +1000 +++ ha_innodb.cc 2009-11-10 23:41:11.000000000 +1000 @@ -6771,7 +6771,7 @@ table->field[10]->store(index->name, strlen(index->name), system_charset_info); // fprintf(stderr, " index %s, table %s", index->name, index->table_name);
- if((p = strchr(index->table_name, '/'))) + if((p = strchr((char *) index->table_name, '/'))) { strncpy(db_name_raw, index->table_name, p-index->table_name); db_name_raw[p-index->table_name] = 0;
In-tree patch provided in attached branch.
This fixes it
--- ha_innodb.orig 2009-11-10 23:43:08.000000000 +1000 >field[ 10]->store( index-> name, strlen( index-> name), system_ charset_ info);
+++ ha_innodb.cc 2009-11-10 23:41:11.000000000 +1000
@@ -6771,7 +6771,7 @@
table-
// fprintf(stderr, " index %s, table %s", index->name, index->table_name);
- if((p = strchr( index-> table_name, '/'))) db_name_ raw, index->table_name, p-index- >table_ name); name_raw[ p-index- >table_ name] = 0;
+ if((p = strchr((char *) index->table_name, '/')))
{
strncpy(
db_
In-tree patch provided in attached branch.