1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50

into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
This commit is contained in:
tsmith@ramayana.hindu.god
2007-10-10 14:01:48 -06:00

View File

@ -2724,10 +2724,13 @@ void THD::restore_sub_statement_state(Sub_statement_state *backup)
*/
void mark_transaction_to_rollback(THD *thd, bool all)
{
if (thd)
{
thd->is_fatal_sub_stmt_error= TRUE;
thd->transaction_rollback_request= all;
}
}
/***************************************************************************
Handling of XA id cacheing
***************************************************************************/