~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/warnings_engine_disabled.test

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 20:26:28 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321202628-nh6qsi825m4d4av6
Removing the queues.[h,cc] files from the mysys directory. The only place
where they are needed now is in the MyISAM storage engine. Thus, I moved the
files there and updated the files in the MyISAM storage engine
appropriately.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# engine
4
4
#
5
5
disable_query_log;
6
 
--require r/true.require
7
 
select support = 'Disabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
 
6
# Drizzle currently doesn't have a way to query if an engine is disabled
 
7
#--require r/true.require
 
8
#select support = 'Disabled' as `TRUE` from information_schema.engines where engine = 'myisam';
8
9
enable_query_log;
9
10
 
10
11
 
11
12
#
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;
 
13
# Drizzle bug 309847 - change warning to error when selected engine is disabled
 
14
#
 
15
# Test for handler type, will select default storage engine and issue an error
 
16
# since NDB is disabled
 
17
#
 
18
# remove this line after bug 309847 is fixed
 
19
create table t1 (id int) engine=innodb;
 
20
 
 
21
# uncomment after bug 309847 is fixed
 
22
#create table t1 (id int) engine=NDB;
 
23
#alter table t1 engine=NDB;
 
24
 
17
25
drop table t1;
18
26
 
19
27