Commit 4649d5c3 authored by mskold@mysql.com's avatar mskold@mysql.com

Post review fix of ndbcluster_drop_database, print error

parent 3a9af055
...@@ -4359,7 +4359,10 @@ int ndbcluster_drop_database(const char *path) ...@@ -4359,7 +4359,10 @@ int ndbcluster_drop_database(const char *path)
{ {
const NdbError err= dict->getNdbError(); const NdbError err= dict->getNdbError();
if (err.code != 709) if (err.code != 709)
{
ERR_PRINT(err);
ret= ndb_to_mysql_error(&err); ret= ndb_to_mysql_error(&err);
}
} }
} }
DBUG_RETURN(ret); DBUG_RETURN(ret);
......
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