Bug #12884631 62146: TABLES ARE LOST FOR DDL
row_rename_table_for_mysql(): Return DB_ERROR instead of DB_SUCCESS when fil_rename_tablespace() returns an error. This bug was introduced in the InnoDB Plugin. Approved by Sunny Bains over IM.
This commit is contained in:
parent
ff56d29993
commit
ef37d6de11
@ -1,3 +1,8 @@
|
|||||||
|
2011-10-27 The InnoDB Team
|
||||||
|
|
||||||
|
* row/row0mysql.c:
|
||||||
|
Fix Bug #12884631 62146: TABLES ARE LOST FOR DDL
|
||||||
|
|
||||||
2011-10-20 The InnoDB Team
|
2011-10-20 The InnoDB Team
|
||||||
|
|
||||||
* btr/brt0cur.c:
|
* btr/brt0cur.c:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|
||||||
Copyright (c) 2000, 2010, Innobase Oy. All Rights Reserved.
|
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All Rights Reserved.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it under
|
This program is free software; you can redistribute it and/or modify it under
|
||||||
the terms of the GNU General Public License as published by the Free Software
|
the terms of the GNU General Public License as published by the Free Software
|
||||||
@ -3971,6 +3971,7 @@ end:
|
|||||||
trx->error_state = DB_SUCCESS;
|
trx->error_state = DB_SUCCESS;
|
||||||
trx_general_rollback_for_mysql(trx, NULL);
|
trx_general_rollback_for_mysql(trx, NULL);
|
||||||
trx->error_state = DB_SUCCESS;
|
trx->error_state = DB_SUCCESS;
|
||||||
|
err = DB_ERROR;
|
||||||
goto funct_exit;
|
goto funct_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user