~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/warnings_engine_disabled.test

  • Committer: Monty Taylor
  • Date: 2008-08-02 00:06:32 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080802000632-jsse0zdd9r6ic5ku
Actually turn gettext on...

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