mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6247: Merge 10.0-galera to 10.1.
Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.
This commit is contained in:
@ -253,7 +253,18 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
|
||||
}
|
||||
if (options & REFRESH_CHECKPOINT)
|
||||
disable_checkpoints(thd);
|
||||
}
|
||||
#ifdef WITH_WSREP
|
||||
/*
|
||||
We need to do it second time after wsrep appliers were blocked in
|
||||
make_global_read_lock_block_commit(thd) above since they could have
|
||||
modified the tables too.
|
||||
*/
|
||||
if (WSREP(thd) &&
|
||||
close_cached_tables(thd, tables, (options & REFRESH_FAST) ?
|
||||
FALSE : TRUE, TRUE))
|
||||
result= 1;
|
||||
#endif /* WITH_WSREP */
|
||||
}
|
||||
else
|
||||
{
|
||||
if (thd && thd->locked_tables_mode)
|
||||
|
Reference in New Issue
Block a user