From: Date: December 11 2008 10:59pm Subject: bzr commit into mysql-5.1 branch (leonard:2772) Bug#32662 List-Archive: http://lists.mysql.com/commits/61440 X-Bug: 32662 Message-Id: <200812112159.mBBLxER1006429@laptop.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/zhl/mysql/mysql-5.1-telco-6.2-bug32662/ 2772 Leonard Zhou 2008-12-12 BUG#32662 Return correct error message when creating an existed tablespace modified: storage/ndb/src/ndbapi/ndberror.c per-file messages: storage/ndb/src/ndbapi/ndberror.c Correct error message === modified file 'storage/ndb/src/ndbapi/ndberror.c' --- a/storage/ndb/src/ndbapi/ndberror.c 2008-10-21 13:00:33 +0000 +++ b/storage/ndb/src/ndbapi/ndberror.c 2008-12-11 21:58:49 +0000 @@ -365,7 +365,7 @@ ErrorBundle ErrorCodes[] = { { 708, DMEC, SE, "No more attribute metadata records (increase MaxNoOfAttributes)" }, { 709, HA_ERR_NO_SUCH_TABLE, SE, "No such table existed" }, { 710, DMEC, SE, "Internal: Get by table name not supported, use table id." }, - { 721, HA_ERR_TABLE_EXIST, OE, "Table or index with given name already exists" }, + { 721, HA_ERR_TABLE_EXIST, OE, "Schema object with given name already exists" }, { 723, HA_ERR_NO_SUCH_TABLE, SE, "No such table existed" }, { 736, DMEC, SE, "Unsupported array size" }, { 737, HA_WRONG_CREATE_OPTION, SE, "Attribute array size too big" },