ha_ndbcluster_binlog.cc:

ndb: fix compile error on solaris
This commit is contained in:
tomas@poseidon.ndb.mysql.com 2006-05-19 20:31:02 +02:00
parent 0a49d5a297
commit 83c095ba5c

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;