Commit 372f81af authored by unknown's avatar unknown
Browse files

Replaced assert with argument checking, as rpl_ndb_UUID caused slave to fail on x86 64 bit

(It failed even if test was marked as skipped)



sql/ha_ndbcluster.cc:
  Replaced assert with argument checking, as rpl_ndb_UUID failed on x64
parent 0194db09
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -4667,7 +4667,15 @@ int ha_ndbcluster::create(const char *name,
  // reset at return
  m_table= ndbtab_g.get_table();
  // TODO check also that we have the same frm...
  DBUG_ASSERT(m_table != 0);
  if (!m_table)
  {
    /* purecov: begin deadcode */
    const NdbError err= dict->getNdbError();
    ERR_PRINT(err);
    my_errno= ndb_to_mysql_error(&err);
    DBUG_RETURN(my_errno);
    /* purecov: end */
  }

  DBUG_PRINT("info", ("Table %s/%s created successfully", 
                      m_dbname, m_tabname));