percona_bug_999147 fails on debug builds

Bug #1133926 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Undecided
Unassigned
5.1
Invalid
Undecided
Unassigned
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
High
Sergei Glushchenko

Bug Description

innodb.percona_bug_999147 [ fail ] Found warnings/errors in server log file!
        Test ended at 2013-02-27 07:02:55
line
mysqld: /home/laurynas/percona/src/percona-server-5.6/Percona-Server/storage/innobase/handler/handler0alter.cc:368: virtual enum_alter_inplace_result ha_innobase::check_if_supported_inplace_alter(TABLE*, Alter_inplace_info*): Assertion `key_part->fieldnr < altered_table->s->fields' failed.
^ Found warnings in /home/laurynas/percona/src/percona-server-5.6/obj/mysql-test/var/log/mysqld.1.err
ok

This is introduced with https://code.launchpad.net/~sergei.glushchenko/percona-server/56-expand_fast_index_creation/+merge/139747 and is visible on all Jenkins builds: param build for the merge, staging testing build, all trunk builds since.

Tags: ci xtradb

Related branches

tags: added: ci xtradb
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Exact steps I used to reproduce locally:
(ubuntu 12.10 x86_64, GCC 4.7.2)
in latest 5.6 trunk directory:
mkdir obj
cd obj
cmake ../Percona-Server/ -DWITH_DEBUG=ON -DWITH_EMBEDDED_SERVER=OFF
make -j4
cd mysql-test
./mysql-test-run --mem percona_bug_999147

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

As been discussed on IRC this bug is two different bugs.

First one is server crash with assertion failure

handler/handler0alter.cc:368: virtual enum_alter_inplace_result ha_innobase::check_if_supported_inplace_alter(TABLE*, Alter_inplace_info*): Assertion `key_part->fieldnr < altered_table->s->fields' failed.

to reproduce:

DROP TABLE IF EXISTS t1;
SET SESSION expand_fast_index_creation=ON;
CREATE TEMPORARY TABLE t1 (a INT, b INT, INDEX(a));
ALTER TABLE t1 ADD INDEX (b);

Second one is a warning which was been issued by explain_filename.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2900

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.