Commit 37b3d944 authored by Seppo Jaakola's avatar Seppo Jaakola

Merge fix for DDL handling

parent a0c86794
...@@ -898,7 +898,8 @@ static bool wsrep_prepare_keys_for_isolation(THD* thd, ...@@ -898,7 +898,8 @@ static bool wsrep_prepare_keys_for_isolation(THD* thd,
{ {
wsrep_key_t* tmp; wsrep_key_t* tmp;
tmp= (wsrep_key_t*)my_realloc( 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) if (!tmp)
{ {
sql_print_error("Can't allocate memory for key_array"); sql_print_error("Can't allocate memory for key_array");
......
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