Commit 5295a175 authored by unknown's avatar unknown

Merge mysql.com:/usr/local/mysql/mysql-5.1-winfix

into  mysql.com:/usr/local/mysql/mysql-5.1-release

parents ef7015fa 547b0c4f
...@@ -4004,7 +4004,7 @@ int fill_schema_events(THD *thd, TABLE_LIST *tables, COND *cond) ...@@ -4004,7 +4004,7 @@ int fill_schema_events(THD *thd, TABLE_LIST *tables, COND *cond)
store(thd->lex->select_lex.db, strlen(thd->lex->select_lex.db), scs); store(thd->lex->select_lex.db, strlen(thd->lex->select_lex.db), scs);
key_len+= event_table->key_info->key_part[1].store_length; key_len+= event_table->key_info->key_part[1].store_length;
} }
if (!(key_buf= alloc_root(thd->mem_root, key_len))) if (!(key_buf= (byte *)alloc_root(thd->mem_root, key_len)))
{ {
ret= 1; ret= 1;
goto err; goto err;
......
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