~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/blackhole.test

  • Committer: Jay Pipes
  • Date: 2009-09-21 14:33:44 UTC
  • mfrom: (1126.10.26 dtrace-probes)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: jpipes@serialcoder-20090921143344-jnarp7gcn6zmg19c
Merge fixes from Trond and Padraig on dtrace probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
INSERT INTO t1 VALUES (1, 1111, 11.111);
41
41
INSERT INTO t1 VALUES (2, 2222, 22.222);
42
42
INSERT INTO t1 VALUES (3, 3333, 33.333);
43
 
drop table t1;
44
 
 
45
 
# Double check that read locks are still being honored by the kernel.
46
 
CREATE TABLE t5 (a int) ENGINE=BLACKHOLE;
47
 
INSERT INTO t5 VALUES (1);
48
 
FLUSH TABLES WITH READ LOCK;
49
 
--error 1223
50
 
INSERT INTO t5 VALUES (1);
51
 
UNLOCK TABLES;
52
 
INSERT INTO t5 VALUES (1);
53
 
FLUSH TABLES WITH READ LOCK;
54
 
--error 1223
55
 
DROP TABLE t5;
56
 
UNLOCK TABLES;
57
 
INSERT INTO t5 VALUES (1);
58
 
DROP TABLE t5;
59
 
 
60
 
# Test for bug lp:492046
61
 
CREATE SCHEMA foo;
62
 
use foo;
63
 
CREATE TABLE A (A INT) ENGINE=BLACKHOLE;
64
 
DROP SCHEMA foo;
65
43