1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Merge fix for DDL handling

This commit is contained in:
Seppo Jaakola
2013-10-11 12:28:13 +03:00
parent a0c8679416
commit 37b3d94477

View File

@@ -898,7 +898,8 @@ static bool wsrep_prepare_keys_for_isolation(THD* thd,
{
wsrep_key_t* tmp;
tmp= (wsrep_key_t*)my_realloc(
ka->keys, (ka->keys_len + 1) * sizeof(wsrep_key_t), MYF(0));
ka->keys, (ka->keys_len + 1) * sizeof(wsrep_key_t),
MYF(MY_ALLOW_ZERO_PTR));
if (!tmp)
{
sql_print_error("Can't allocate memory for key_array");