~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/t/warnings_engine_disabled.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Only run this test with a compiled in but disabled
 
3
# engine
 
4
#
 
5
disable_query_log;
 
6
--require r/true.require
 
7
select support = 'NO' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
 
8
enable_query_log;
 
9
 
 
10
 
 
11
#
 
12
# Test for handler type, will select MyISAM and print a warning
 
13
# about that - since NDB is disabled
 
14
#
 
15
create table t1 (id int) engine=NDB;
 
16
alter table t1 engine=NDB;
 
17
drop table t1;
 
18
 
 
19
#
 
20
# Bug#29263 disabled storage engines omitted in SHOW ENGINES
 
21
#
 
22
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='ndbcluster';
 
23
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE
 
24
PLUGIN_NAME='ndbcluster';