mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
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:
parent
ad3b11b4a0
commit
ccbdf093fb
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue