Description:
ndb_alter_table fails due to invalid code in
NdbDictionaryImpl.cpp::3811 : int NdbDictionaryImpl::listIndexes
[mysqldev@rx2620b mysql-5.1.8-beta]$ icc -V
Intel(R) C Itanium(R) Compiler for Itanium(R)-based applications
Version 9.0 Build 20050811 Package ID: l_cc_c_9.0.025
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
[mysqldev@rx2620b mysql-5.1.8-beta]$ uname -a
Linux rx2620b.mysql.com 2.4.21-37.EL #1 SMP Wed Sep 7 13:24:42 EDT 2005 ia64 ia64 ia64
GNU/Linux
configure '--prefix=/usr/local/mysql' '--localstatedir=/usr/local/mysql/data'
'--libexecdir=/usr/local/mysql/bin' '--with-co
mment=Official MySQL binary' '--with-extra-charsets=complex' '--with-server-suffix='
'--enable-thread-safe-client' '--enable-local-
infile' '--disable-shared' '--with-zlib-dir=bundled' '--with-big-tables'
'--with-readline' '--with-archive-storage-engine' '--with-
blackhole-storage-engine' '--with-ndbcluster' '--with-csv-storage-engine'
'--with-example-storage-engine' '--with-federated-storage
-engine' '--with-innodb' 'CC=icc' 'CFLAGS= -unroll2 -ip -mp -restrict' 'CXXFLAGS=
-unroll2 -ip -mp -restrict' 'CXX=icpc' 'LDFLAGS=-
static-libcxa -i-static' CFLAGS=' -DDBUG_OFF -unroll2 -ip -mp -restrict ' CXXFLAGS='
-DDBUG_OFF -unroll2 -ip -mp -restrict -fn
o-implicit-templates -fno-exceptions -fno-rtti'
How to repeat:
see above
removing "-ip" fixed problem in ndb_alter_table
(have not run rest of tests)
Suggested fix:
Fix compiler bug or dont use -ip