Added missing DBUG_RETURNs
This commit is contained in:
parent
0d17aea729
commit
1780abf26f
@ -1501,7 +1501,7 @@ NdbDictInterface::createOrAlterTable(Ndb & ndb,
|
|||||||
if (col->m_autoIncrement) {
|
if (col->m_autoIncrement) {
|
||||||
if (haveAutoIncrement) {
|
if (haveAutoIncrement) {
|
||||||
m_error.code = 4335;
|
m_error.code = 4335;
|
||||||
return -1;
|
DBUG_RETURN(-1);
|
||||||
}
|
}
|
||||||
haveAutoIncrement = true;
|
haveAutoIncrement = true;
|
||||||
autoIncrementValue = col->m_autoIncrementInitialValue;
|
autoIncrementValue = col->m_autoIncrementInitialValue;
|
||||||
@ -1622,7 +1622,7 @@ NdbDictInterface::createOrAlterTable(Ndb & ndb,
|
|||||||
ret= createTable(&tSignal, ptr);
|
ret= createTable(&tSignal, ptr);
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
DBUG_RETURN(ret);
|
||||||
|
|
||||||
if (haveAutoIncrement) {
|
if (haveAutoIncrement) {
|
||||||
if (!ndb.setAutoIncrementValue(impl.m_externalName.c_str(),
|
if (!ndb.setAutoIncrementValue(impl.m_externalName.c_str(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user