diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-03-23 11:44:29 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-03-23 11:44:29 +0100 |
commit | a2e47f8c41e60fb0eeaa01cdd41fc07b9c963768 (patch) | |
tree | 1846a0fdfdff14207698f563376afbdae5d33c8c /sql/sql_class.cc | |
parent | 04921000594dcbdf23340850b9284fd30ccdb0fd (diff) | |
parent | ddc5c65333a4add28907ccb82054ecba0ff6b873 (diff) | |
download | mariadb-git-a2e47f8c41e60fb0eeaa01cdd41fc07b9c963768.tar.gz |
Merge branch '5.5' into 10.0
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index c20f9054c2b..a644df9771c 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -2454,15 +2454,19 @@ void THD::check_and_register_item_tree_change(Item **place, Item **new_value, void THD::rollback_item_tree_changes() { + DBUG_ENTER("THD::rollback_item_tree_changes"); I_List_iterator<Item_change_record> it(change_list); Item_change_record *change; while ((change= it++)) { + DBUG_PRINT("info", ("Rollback: %p (%p) <- %p", + *change->place, change->place, change->old_value)); *change->place= change->old_value; } /* We can forget about changes memory: it's allocated in runtime memroot */ change_list.empty(); + DBUG_VOID_RETURN; } |