mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Merge mysql.com:/usr/local/mysql/mysql-5.1-winfix
into mysql.com:/usr/local/mysql/mysql-5.1-new
This commit is contained in:
commit
2b5a4e2807
1 changed files with 1 additions and 1 deletions
|
@ -4005,7 +4005,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);
|
||||
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;
|
||||
goto err;
|
||||
|
|
Loading…
Reference in a new issue