mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.4' into 10.5
This commit is contained in:
@ -103,6 +103,8 @@ public:
|
||||
|
||||
new_item= (struct queue_item *) my_malloc(key_memory_queue_item,
|
||||
sizeof(struct queue_item), MYF(0));
|
||||
if (!new_item)
|
||||
return;
|
||||
|
||||
new_item->payload= payload;
|
||||
|
||||
@ -296,7 +298,11 @@ public:
|
||||
{
|
||||
DBUG_ASSERT(!current);
|
||||
if (unlikely(enabled))
|
||||
current= new QUERY_PROFILE(this, initial_state);
|
||||
{
|
||||
QUERY_PROFILE *new_profile= new QUERY_PROFILE(this, initial_state);
|
||||
if (new_profile)
|
||||
current= new_profile;
|
||||
}
|
||||
}
|
||||
|
||||
void discard_current_query();
|
||||
|
Reference in New Issue
Block a user