File tree Expand file tree Collapse file tree 4 files changed +0
-16
lines changed
Expand file tree Collapse file tree 4 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -445,10 +445,7 @@ trx_id_t
445445trx_sys_get_new_trx_id(void)
446446/*========================*/
447447{
448- #ifndef WITH_WSREP
449- /* wsrep_fake_trx_id violates this assert */
450448ut_ad(mutex_own(&trx_sys->mutex));
451- #endif /* WITH_WSREP */
452449
453450/* VERY important: after the database is started, max_trx_id value is
454451divisible by TRX_SYS_TRX_ID_WRITE_MARGIN, and the following if
Original file line number Diff line number Diff line change @@ -180,12 +180,7 @@ trx_sys_flush_max_trx_id(void)
180180mtr_t mtr;
181181trx_sysf_t * sys_header;
182182
183- #ifndef WITH_WSREP
184- /* wsrep_fake_trx_id violates this assert
185- * Copied from trx_sys_get_new_trx_id
186- */
187183ut_ad (mutex_own (&trx_sys->mutex ));
188- #endif /* WITH_WSREP */
189184
190185if (!srv_read_only_mode) {
191186mtr_start (&mtr);
Original file line number Diff line number Diff line change @@ -474,10 +474,7 @@ trx_id_t
474474trx_sys_get_new_trx_id(void)
475475/*========================*/
476476{
477- #ifndef WITH_WSREP
478- /* wsrep_fake_trx_id violates this assert */
479477ut_ad(mutex_own(&trx_sys->mutex));
480- #endif /* WITH_WSREP */
481478
482479/* VERY important: after the database is started, max_trx_id value is
483480divisible by TRX_SYS_TRX_ID_WRITE_MARGIN, and the following if
Original file line number Diff line number Diff line change @@ -184,12 +184,7 @@ trx_sys_flush_max_trx_id(void)
184184mtr_t mtr;
185185trx_sysf_t * sys_header;
186186
187- #ifndef WITH_WSREP
188- /* wsrep_fake_trx_id violates this assert
189- * Copied from trx_sys_get_new_trx_id
190- */
191187ut_ad (mutex_own (&trx_sys->mutex ));
192- #endif /* WITH_WSREP */
193188
194189if (!srv_read_only_mode) {
195190mtr_start (&mtr);
You can’t perform that action at this time.
0 commit comments