summaryrefslogtreecommitdiff
path: root/mysql-test/suite/storage_engine/have_default_index.inc
blob: fb5111c71808670b6e0eec7dcd66093dfe535136 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}