Commit c835c868 authored by monty@narttu.mysql.fi's avatar monty@narttu.mysql.fi

Fixed memory/lock leak from bug fix

parent 7f7d6b46
...@@ -194,7 +194,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables, ...@@ -194,7 +194,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
for (key_len=0 ; (item=it_ke++) ; key_part++) for (key_len=0 ; (item=it_ke++) ; key_part++)
{ {
if (item->fix_fields(thd, tables)) if (item->fix_fields(thd, tables))
return -1; goto err;
item->save_in_field(key_part->field, 1); item->save_in_field(key_part->field, 1);
key_len+=key_part->store_length; key_len+=key_part->store_length;
} }
......
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