diff options
author | dlenev@mysql.com <> | 2005-11-19 15:09:23 +0300 |
---|---|---|
committer | dlenev@mysql.com <> | 2005-11-19 15:09:23 +0300 |
commit | 574e711209496b26b8e923127d6b616b569c2d20 (patch) | |
tree | f10a6f8f668197703c72f6767824130856c26967 /sql/sql_class.h | |
parent | f6995841b3eb79e6d399bf080326e7158362731d (diff) | |
download | mariadb-git-574e711209496b26b8e923127d6b616b569c2d20.tar.gz |
Fix for bug #13825 "Triggers: crash if release savepoint" and for general
handling of savepoints in stored routines.
Fixed ha_rollback_to_savepoint()/ha_savepoint()/ha_release_savepoint()
functions to properly handle savepoints inside of stored functions and
triggers.
Also now when we invoke stored function or trigger we create new savepoint
level. We destroy it at the end of function/trigger execution and return back
to old savepoint level.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 7ca168ec518..0cc4aca1812 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1097,6 +1097,7 @@ public: uint in_sub_stmt; bool enable_slow_log, insert_id_used; my_bool no_send_ok; + SAVEPOINT *savepoints; }; |