mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix tokudb.gap_lock_error test
TokuDB testsuite makes use of includes not found in our default 10.0. Cherry pick them from Percona Server's include directory.
This commit is contained in:
27
mysql-test/include/gap_lock_error_all.inc
Normal file
27
mysql-test/include/gap_lock_error_all.inc
Normal file
@ -0,0 +1,27 @@
|
||||
--source include/have_partition.inc
|
||||
--source include/gap_lock_error_init.inc
|
||||
|
||||
let $select_lock=for update;
|
||||
let $autocommit = 0;
|
||||
--source include/gap_lock_error_select.inc
|
||||
let $autocommit = 1;
|
||||
--source include/gap_lock_error_select.inc
|
||||
|
||||
let $select_lock=lock in share mode;
|
||||
let $autocommit = 0;
|
||||
--source include/gap_lock_error_select.inc
|
||||
let $autocommit = 1;
|
||||
--source include/gap_lock_error_select.inc
|
||||
|
||||
let $select_lock=;
|
||||
let $autocommit = 0;
|
||||
--source include/gap_lock_error_select.inc
|
||||
let $autocommit = 1;
|
||||
--source include/gap_lock_error_select.inc
|
||||
|
||||
let $autocommit = 0;
|
||||
--source include/gap_lock_error_update.inc
|
||||
let $autocommit = 1;
|
||||
--source include/gap_lock_error_update.inc
|
||||
|
||||
--source include/gap_lock_error_cleanup.inc
|
Reference in New Issue
Block a user