~patrick-crews/drizzle/dbqp_freebsd_ports

« back to all changes in this revision

Viewing changes to plugin/storage_engine_api_tester/tests/t/txn_log_insert.test

  • Committer: Brian Aker
  • Date: 2011-01-24 06:00:51 UTC
  • mfrom: (2107.1.3 drizzle-build)
  • Revision ID: brian@tangent.org-20110124060051-o8qvrxgw4nwc94nr
Merge in error message number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#enable error inject
33
33
SELECT seapitester_error_inject(1);
34
34
 
35
 
--error 1213,1205
 
35
--error ER_LOCK_DEADLOCK,ER_LOCK_WAIT_TIMEOUT
36
36
INSERT INTO t1 (id,padding) values (40, "boo"),(41,"scary");
37
37
begin;
38
38
INSERT INTO t1 (id,padding) VALUES (1, "I love testing.");
39
 
--error 1213,1205
 
39
--error ER_LOCK_DEADLOCK,ER_LOCK_WAIT_TIMEOUT
40
40
INSERT INTO t1 (id,padding) VALUES (2, "I hate testing.");
41
41
update t1 set padding="bar" where id=1;
42
42
commit;
43
43
INSERT INTO t1 (id,padding) VALUES (2, "I hate testing.");
44
 
--error 1213,1205
 
44
--error ER_LOCK_DEADLOCK,ER_LOCK_WAIT_TIMEOUT
45
45
INSERT INTO t1 (id,padding) VALUES (3, "I hate testing too.");
46
46
COMMIT;
47
47
select * from t1;