ha_ndbcluster_binlog.cc:

ndb: fix compile error on solaris


sql/ha_ndbcluster_binlog.cc:
  ndb: fix compile error on solaris
This commit is contained in:
unknown 2006-05-19 20:31:02 +02:00
parent ad3b11b4a0
commit ccbdf093fb

View file

@ -1545,8 +1545,8 @@ ndb_handle_schema_change(THD *thd, Ndb *ndb, NdbEventOperation *pOp,
}
// copy names as memory will be freed
NdbAutoPtr<char> a1((char *)dbname= strdup(dbname));
NdbAutoPtr<char> a2((char *)tabname= strdup(tabname));
NdbAutoPtr<char> a1((char *)(dbname= strdup(dbname)));
NdbAutoPtr<char> a2((char *)(tabname= strdup(tabname)));
ndbcluster_binlog_close_table(thd, share);
TABLE_LIST table_list;