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

Fix Item tree changes/rollback debug print

This commit is contained in:
Oleksandr Byelkin
2018-01-21 23:44:31 +01:00
parent 94da1cb4a6
commit 11408a69ad
2 changed files with 8 additions and 4 deletions

View File

@@ -2725,10 +2725,14 @@ public:
void change_item_tree(Item **place, Item *new_value)
{
DBUG_ENTER("THD::change_item_tree");
DBUG_PRINT("enter", ("Register: %p (%p) <- %p",
*place, place, new_value));
/* TODO: check for OOM condition here */
if (!stmt_arena->is_conventional())
nocheck_register_item_tree_change(place, *place, mem_root);
*place= new_value;
DBUG_VOID_RETURN;
}
/**
Make change in item tree after checking whether it needs registering