mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
bzr merge -r3997..4010 codership-mysql/5.5
This commit is contained in:
@ -993,6 +993,9 @@ static void wsrep_copy_query(THD *thd)
|
||||
{
|
||||
thd->wsrep_retry_command = thd->command;
|
||||
thd->wsrep_retry_query_len = thd->query_length();
|
||||
if (thd->wsrep_retry_query) {
|
||||
my_free(thd->wsrep_retry_query);
|
||||
}
|
||||
thd->wsrep_retry_query = (char *)my_malloc(
|
||||
thd->wsrep_retry_query_len + 1, MYF(0));
|
||||
strncpy(thd->wsrep_retry_query, thd->query(), thd->wsrep_retry_query_len);
|
||||
|
Reference in New Issue
Block a user