mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
Bug#44022 CREATE TABLE sometimes fails silently for IBMDB2I engine
In some circumstances, when a table is created with the IBMDB2I engine, the CREATE TABLE statement will return successfully but the table will not exist. The current patch addresses the above issue and causes CREATE to fail and report and error to the user.
This commit is contained in:
parent
064c1b2cac
commit
9887dd7a66
1 changed files with 1 additions and 1 deletions
|
@ -2323,7 +2323,7 @@ int ha_ibmdb2i::create(const char *name, TABLE *table_arg,
|
|||
if (!rc && !isTemporary)
|
||||
{
|
||||
db2i_table* temp = new db2i_table(table_arg->s, name);
|
||||
int32 rc = temp->fastInitForCreate(name);
|
||||
rc = temp->fastInitForCreate(name);
|
||||
delete temp;
|
||||
if (rc)
|
||||
delete_table(name);
|
||||
|
|
Loading…
Add table
Reference in a new issue