~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/hello_events/tests/t/schema.test

  • Committer: lbieber at stabletransit
  • Date: 2010-10-16 03:50:39 UTC
  • mfrom: (1857.1.2 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101016035039-j8shvyewemcex8kc
Merge Vijay - fix for distcheck
Merge Brian - clean up events add tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Lets Make sure everything is turned on for us.
 
2
SELECT VARIABLE_NAME,VARIABLE_VALUE FROM DATA_DICTIONARY.GLOBAL_VARIABLES WHERE VARIABLE_NAME LIKE "hello%";
 
3
 
 
4
CREATE SCHEMA no_events;
 
5
select IF(@BEFORE_CREATE_DATABASE, "YES", "NO");
 
6
select IF(@AFTER_CREATE_DATABASE, "YES", "NO");
 
7
select IF(@BEFORE_DROP_DATABASE, "YES", "NO");
 
8
select IF(@AFTER_DROP_DATABASE, "YES", "NO");
 
9
 
 
10
DROP SCHEMA no_events;
 
11
select IF(@BEFORE_CREATE_DATABASE, "YES", "NO");
 
12
select IF(@AFTER_CREATE_DATABASE, "YES", "NO");
 
13
select IF(@BEFORE_DROP_DATABASE, "YES", "NO");
 
14
select IF(@AFTER_DROP_DATABASE, "YES", "NO");
 
15
 
 
16
CREATE SCHEMA events;
 
17
select IF(@BEFORE_CREATE_DATABASE, "YES", "NO");
 
18
select IF(@AFTER_CREATE_DATABASE, "YES", "NO");
 
19
select IF(@BEFORE_DROP_DATABASE, "YES", "NO");
 
20
select IF(@AFTER_DROP_DATABASE, "YES", "NO");
 
21
 
 
22
DROP SCHEMA events;
 
23
select IF(@BEFORE_CREATE_DATABASE, "YES", "NO");
 
24
select IF(@AFTER_CREATE_DATABASE, "YES", "NO");
 
25
select IF(@BEFORE_DROP_DATABASE, "YES", "NO");
 
26
select IF(@AFTER_DROP_DATABASE, "YES", "NO");