mirror of
https://github.com/MariaDB/server.git
synced 2025-01-25 00:04:33 +01:00
branches/5.1: Non-functional change, fix formatting.
This commit is contained in:
parent
564dd263c2
commit
1e403c082b
1 changed files with 1 additions and 2 deletions
|
@ -6056,8 +6056,7 @@ ha_innobase::rename_table(
|
|||
the dup key error here is due to an existing table whose name
|
||||
is the one we are trying to rename to) and return the generic
|
||||
error code. */
|
||||
if (error == (int) DB_DUPLICATE_KEY)
|
||||
{
|
||||
if (error == (int) DB_DUPLICATE_KEY) {
|
||||
my_error(ER_TABLE_EXISTS_ERROR, MYF(0), to);
|
||||
|
||||
error = DB_ERROR;
|
||||
|
|
Loading…
Add table
Reference in a new issue