# This is the test for bug 46000. We shall# block any index creation with the name of# "GEN_CLUST_INDEX", which is the reserved# name for innodb default primary index.--sourceinclude/have_innodb.inc# This 'create table' operation should fail because of# using the reserve name as its index name.--errorER_WRONG_NAME_FOR_INDEXcreatetablebug46000(`id`int,key`GEN_CLUST_INDEX`(`id`))engine=innodb;# Mixed upper/lower case of the reserved key words--errorER_WRONG_NAME_FOR_INDEXcreatetablebug46000(`id`int,key`GEN_clust_INDEX`(`id`))engine=innodb;showwarnings;createtablebug46000(idint)engine=innodb;# This 'create index' operation should fail.--errorER_WRONG_NAME_FOR_INDEXcreateindexGEN_CLUST_INDEXonbug46000(id);showwarnings;# This 'create index' operation should succeed, no# temp table left from last failed create index# operation.createindexidxonbug46000(id);droptablebug46000;