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.
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; fake_changes= 1;
CREATE TABLE t3(c1 BINARY(10) NOT NULL);
ALTER TABLE t3 ENGINE=InnoDB;
SET innodb_
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!) _run_pquery # Run the testcase (produces output) {epoch} /error. log.out # Verify the error log _parse_ core # Create {epoch}_STD.gdb and {epoch}_FULL.gdb; standard and full var gdb stack traces
$ ./{epoch}_init # Initializes the data dir
$ ./{epoch}_start # Starts mysqld
$ ./{epoch}_cl # To check mysqld is up
$ ./{epoch}
$ vi /dev/shm/
$ ./{epoch}_gdb # Brings you to a gdb prompt attached to correct mysqld & generated core
$ ./{epoch}
etc.