1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-14603 signal 11 with short stacktrace

This commit is contained in:
Alexander Barkov
2018-01-23 17:12:29 +04:00
parent 87db5eb813
commit 7cc507f22e
4 changed files with 179 additions and 0 deletions

View File

@ -1296,6 +1296,25 @@ public:
};
class Item_change_list_savepoint: public Item_change_list
{
public:
Item_change_list_savepoint(Item_change_list *list)
{
list->move_elements_to(this);
}
void rollback(Item_change_list *list)
{
list->rollback_item_tree_changes();
move_elements_to(list);
}
~Item_change_list_savepoint()
{
DBUG_ASSERT(is_empty());
}
};
/**
Type of locked tables mode.
See comment for THD::locked_tables_mode for complete description.