~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/statement_boundaries.test

  • Committer: Stewart Smith
  • Date: 2011-01-04 12:25:40 UTC
  • mto: (2099.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2100.
  • Revision ID: stewart@flamingspork.com-20110104122540-62o9l8npsitvg0qk
statement_boundaries test relied on implicit commits in schema operations. use explicit commits instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
SHOW STATUS LIKE 'Handler_commit%';
18
18
 
 
19
COMMIT;
19
20
DROP SCHEMA IF EXISTS boundaries;
20
21
 
21
 
# Expect 1 commit count since above DROP SCHEMA
22
 
# will implicitly call COMMIT.
 
22
# Expect 1 commit count since above COMMIT before DROP SCHEMA
23
23
#
24
24
# When we get transactional DDL, should be 0.
25
25
SHOW STATUS LIKE 'Handler_commit%';
38
38
SET AUTOCOMMIT= 1;
39
39
 
40
40
SHOW STATUS LIKE 'Handler_commit%';
 
41
DROP SCHEMA IF EXISTS boundaries;
41
42
BEGIN;
42
 
DROP SCHEMA IF EXISTS boundaries;
43
43
COMMIT;
44
44
 
45
45
SHOW STATUS LIKE 'Handler_commit%';