mirror of
https://github.com/MariaDB/server.git
synced 2025-10-22 19:52:58 +03:00
WL#3397 Refactoring storage engine test cases (for falcon)
It contains fixes according to second code review.
- Remove any occurence of hardcoded assignments of storage engines
- Use variable names exact telling what it is used for
- Updated comments
- remove trailing spaces
mysql-test/include/handler.inc:
- Replace hardcoded MyISAM with assignments via variable
mysql-test/include/mix1.inc:
- Replace hardcoded MyISAM with assignments via variable
- Remove hardcoded InnoDB assignments (They were introduced by late push)
- Remove trailing spaces
mysql-test/include/mix2.inc:
- Replace hardcode MyISAM assignments
- Remove trailing spaces
- Engine assignments via variable refers to the use of the storage engine
$other_non_trans_engine_type, $other_live_chcks_engine_type ...
mysql-test/include/read_many_rows.inc:
Replace hardcoded MyISAM assignment
mysql-test/include/rowid_order.inc:
remove trailing spaces
mysql-test/r/handler_innodb.result:
Updated result
mysql-test/r/handler_myisam.result:
Updated result
mysql-test/r/innodb_mysql.result:
Updated result
mysql-test/r/mix2_myisam.result:
Updated result
mysql-test/r/read_many_rows_innodb.result:
Updated result
mysql-test/r/rowid_order_innodb.result:
Updated result
mysql-test/t/handler_innodb.test:
Introduce $variables
mysql-test/t/handler_myisam.test:
Introduce $variables
mysql-test/t/mix2_myisam.test:
Introduce $variables
mysql-test/t/read_many_rows_innodb.test:
Introduce $variables
27 lines
864 B
Plaintext
27 lines
864 B
Plaintext
# t/mix2_myisam.test
|
|
#
|
|
# Last update: 2006-07-26 ML create this test as derivate from innodb.test
|
|
#
|
|
|
|
let $engine_type= MyISAM;
|
|
let $other_engine_type= MEMORY;
|
|
# There are unfortunately only MyISAM and MEMORY all time available
|
|
# Therefore use here MEMORY again.
|
|
let $other_engine_type1= MEMORY;
|
|
let $other_non_trans_engine_type= MEMORY;
|
|
let $other_non_live_chks_engine_type= MEMORY;
|
|
# Therefore use here MyISAM again.
|
|
let $other_live_chks_engine_type= MyISAM;
|
|
# MyISAM does not support transactions
|
|
let $test_transactions= 0;
|
|
# MyISAM does not support FOREIGN KEYFOREIGN KEYs
|
|
let $test_foreign_keys= 0;
|
|
# MyISAM supports fulltext queries
|
|
let $fulltext_query_unsupported= 0;
|
|
# MyISAM internal autoincrement values are updated during updates
|
|
let $no_autoinc_update= 0;
|
|
# MyISAM supports keys on spatial data types
|
|
let $no_spatial_key= 0;
|
|
|
|
-- source include/mix2.inc
|