mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-11: Generic storage engine test suite
This commit is contained in:
20
mysql-test/suite/storage_engine/have_default_index.inc
Normal file
20
mysql-test/suite/storage_engine/have_default_index.inc
Normal file
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# This include file either just prints the message, or skips the rest of the test
|
||||
# Usage:
|
||||
# --let $continue = 1; # optional
|
||||
# --source have_default_index.inc
|
||||
#
|
||||
|
||||
--let $have_default_index = 1
|
||||
if ($default_index == '/*!*/ /*Custom index*/')
|
||||
{
|
||||
if (!$continue)
|
||||
{
|
||||
--source cleanup_engine.inc
|
||||
--skip # Configuration does not allow indexes. Check \$default_index value
|
||||
}
|
||||
--echo # According to the configuration, the engine does not allow indexes. Check \$default_index value
|
||||
--let $have_default_index = 0
|
||||
--let $continue = 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user