Commit 5efac23c authored by unknown's avatar unknown

Added missing DBUG_RETURNs

parent f9045b5e
...@@ -1501,7 +1501,7 @@ NdbDictInterface::createOrAlterTable(Ndb & ndb, ...@@ -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, ...@@ -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(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment