~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/blackhole/tests/t/blackhole.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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;
43
44
 
44
45
# Double check that read locks are still being honored by the kernel.
45
46
CREATE TABLE t5 (a int) ENGINE=BLACKHOLE;
46
47
INSERT INTO t5 VALUES (1);
47
48
FLUSH TABLES WITH READ LOCK;
48
 
--error 1223
 
49
--error ER_CANT_UPDATE_WITH_READLOCK
49
50
INSERT INTO t5 VALUES (1);
50
51
UNLOCK TABLES;
51
52
INSERT INTO t5 VALUES (1);
52
53
FLUSH TABLES WITH READ LOCK;
53
 
--error 1223
 
54
--error ER_CANT_UPDATE_WITH_READLOCK
54
55
DROP TABLE t5;
55
56
UNLOCK TABLES;
56
57
INSERT INTO t5 VALUES (1);
62
63
CREATE TABLE A (A INT) ENGINE=BLACKHOLE;
63
64
DROP SCHEMA foo;
64
65
 
 
66
# Test for bug lp:617517
 
67
use test;
 
68
CREATE TABLE t1 (a int) ENGINE=INNODB;
 
69
ALTER TABLE t1 ENGINE=BLACKHOLE;
 
70
SHOW TABLES;