mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
aaa9ed3eff
WL#3397 Refactoring storage engine test cases (for falcon) It contains also fixes according to code review. Contents: Testcases which were in history dedicated to InnoDB or MyISAM only. Modifications: 1. Shift the main testing code into include/<testing field>.inc Introduce $variables which can be used to omit tests for features which are not supported by certain storage engines. 2. The storage engine to be tested is assigned within the toplevel script (t/<whatever>_<engine>.test) via variable $engine_type and the the main testing code is sourced from include/<testing field>.inc 3. Some toplevel testscripts have to be renamed to - avoid immediate or future namespace clashes - show via filename which storage engine is tested 4. Minor code cleanup like remove trailing spaces, some additional comments ....
20 lines
569 B
Text
20 lines
569 B
Text
# t/concurrent_innodb.test
|
|
#
|
|
# Concurrent InnoDB tests, mainly in UPDATE's
|
|
# Bug#3300
|
|
# Designed and tested by Sinisa Milivojevic, sinisa@mysql.com
|
|
#
|
|
# two non-interfering UPDATE's not changing result set
|
|
#
|
|
# Last update:
|
|
# 2006-07-26 ML test refactored (MySQL 5.1)
|
|
# main code t/innodb_concurrent.test -> include/concurrent.inc
|
|
# new wrapper t/concurrent_innodb.test
|
|
|
|
# test takes circa 5 minutes to run, so it's big
|
|
--source include/big_test.inc
|
|
|
|
--source include/have_innodb.inc
|
|
let $engine_type= InnoDB;
|
|
|
|
--source include/concurrent.inc
|