Skip to content

Commit 37b3d94

Browse files
author
Seppo Jaakola
committed
Merge fix for DDL handling
1 parent a0c8679 commit 37b3d94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/wsrep_mysqld.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,8 @@ static bool wsrep_prepare_keys_for_isolation(THD* thd,
898898
{
899899
wsrep_key_t* tmp;
900900
tmp= (wsrep_key_t*)my_realloc(
901-
ka->keys, (ka->keys_len + 1) * sizeof(wsrep_key_t), MYF(0));
901+
ka->keys, (ka->keys_len + 1) * sizeof(wsrep_key_t),
902+
MYF(MY_ALLOW_ZERO_PTR));
902903
if (!tmp)
903904
{
904905
sql_print_error("Can't allocate memory for key_array");

0 commit comments

Comments
 (0)