~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/warnings_engine_disabled.test

  • Committer: Moriyoshi Koizumi
  • Date: 2008-11-15 18:36:31 UTC
  • mto: (584.1.5 devel)
  • mto: This revision was merged to the branch mainline in revision 588.
  • Revision ID: mozo@mozo.jp-20081115183631-81d0clowyot42mk7
Incorporating changes proposed by mtaylor.

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
 
# 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';
9
 
enable_query_log;
10
 
 
11
 
 
12
 
#
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
 
 
25
 
drop table t1;
26
 
 
27