Commit afbea676 authored by Monty's avatar Monty

Fixed wrong usage of variable in ha_sphinx.cc

This only affected printing of errors
parent aeaac6ca
...@@ -3444,7 +3444,7 @@ int ha_sphinx::create ( const char * name, TABLE * table_arg, HA_CREATE_INFO * ) ...@@ -3444,7 +3444,7 @@ int ha_sphinx::create ( const char * name, TABLE * table_arg, HA_CREATE_INFO * )
strcasecmp ( table_arg->key_info[0].key_part[0].field->field_name.str, table->field[2]->field_name.str ) ) strcasecmp ( table_arg->key_info[0].key_part[0].field->field_name.str, table->field[2]->field_name.str ) )
{ {
my_snprintf ( sError, sizeof(sError), "%s: there must be an index on '%s' column", my_snprintf ( sError, sizeof(sError), "%s: there must be an index on '%s' column",
name, table->field[2]->field_name.str ); name, table_arg->field[2]->field_name.str );
break; break;
} }
......
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