MDEV-23888 fixup: GCC 12 -Wunused-value
This commit is contained in:
parent
fac9224d85
commit
8b7abe21e0
@ -2811,7 +2811,7 @@ innobase_trx_init(
|
||||
while holding lock_sys.mutex, by lock_rec_enqueue_waiting(),
|
||||
will not end up acquiring LOCK_global_system_variables in
|
||||
intern_sys_var_ptr(). */
|
||||
THDVAR(thd, lock_wait_timeout);
|
||||
(void) THDVAR(thd, lock_wait_timeout);
|
||||
|
||||
trx->check_foreigns = !thd_test_options(
|
||||
thd, OPTION_NO_FOREIGN_KEY_CHECKS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user