Comment 11 for bug 1226532

Revision history for this message
Ramesh Sivaraman (rameshvs02) wrote :

Got the testcase for this issue, but we need to use multi thread pquery to reproduce the issue.

*** Testcase

DROP DATABASE test;CREATE DATABASE test;USE test;
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
ALTER TABLE t3 ENGINE=InnoDB;
SET innodb_fake_changes=1;
INSERT INTO t3 () VALUES (); ;

Attached tarball gives the testcase as an exact match of our system, including some handy utilities

$ vi {epoch}_mybase # Update base path in this file (the only change required!)
$ ./{epoch}_init # Initializes the data dir
$ ./{epoch}_start # Starts mysqld
$ ./{epoch}_cl # To check mysqld is up
$ ./{epoch}_run_pquery # Run the testcase (produces output)
$ vi /dev/shm/{epoch}/error.log.out # Verify the error log
$ ./{epoch}_gdb # Brings you to a gdb prompt attached to correct mysqld & generated core
$ ./{epoch}_parse_core # Create {epoch}_STD.gdb and {epoch}_FULL.gdb; standard and full var gdb stack traces
etc.