~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/mysql-test/innodb_bug46676.test

  • Committer: Patrick Galbraith
  • Date: 2009-10-08 22:42:05 UTC
  • mto: (1166.5.3 memcached_functions)
  • mto: This revision was merged to the branch mainline in revision 1189.
  • Revision ID: patg@patrick-galbraiths-macbook-pro.local-20091008224205-gq1pehjsivvx0qo9
Starting over with a fresh tree, moved in memcached functions.

Memcached Functions for Drizzle. 

All tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This is the test for bug 46676: mysqld got exception 0xc0000005
2
 
# It is reproducible with InnoDB plugin 1.0.4 + MySQL 5.1.37.
3
 
# But no longer reproducible after MySQL 5.1.38 (with plugin 1.0.5).
4
 
 
5
 
--source include/have_innodb.inc
6
 
 
7
 
SET foreign_key_checks=0;
8
 
CREATE TABLE t1 (id int, foreign key (id) references t2(id)) ENGINE=INNODB;
9
 
CREATE TABLE t2 (id int, foreign key (id) references t1(id)) ENGINE=INNODB;
10
 
SET foreign_key_checks=1;
11
 
 
12
 
# Server crashes
13
 
SELECT COUNT(*) FROM information_schema.key_column_usage WHERE REFERENCED_TABLE_NAME in ('t1', 't2');
14
 
 
15
 
SET foreign_key_checks=0;
16
 
DROP TABLE t1, t2;