summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2007-02-23 18:54:26 +0100
committerunknown <mats@romeo.(none)>2007-02-23 18:54:26 +0100
commitf60346193e20d6ac6fc9b25d66acc1c9d0c5ac0c (patch)
tree52fdcb9ad2b192b895ef0179eda3ec03f993c362 /sql/slave.h
parent5f7f3a5b817dee934750ff64b282dab498c39dfd (diff)
downloadmariadb-git-f60346193e20d6ac6fc9b25d66acc1c9d0c5ac0c.tar.gz
BUG#19033 (RBR: slave does not handle schema changes correctly):
Post-merge fixes. include/my_global.h: Post-merge fixes. Moving placement versions of operator new and operator delete to general server-wide header. sql/slave.h: Post-merge fixes. Moving placement versions of operator new and operator delete to general server-wide header. storage/ndb/include/ndb_global.h.in: Removing local definition of placement versions of operator new and operator delete.
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/slave.h b/sql/slave.h
index 226f19fcd0c..a0febe3fd73 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -214,15 +214,6 @@ extern I_List<THD> threads;
#define SLAVE_IO 1
#define SLAVE_SQL 2
-/*
- Define placement versions of operator new and operator delete since
- we cannot be sure that the <new> include exists.
- */
-inline void *operator new(size_t, void *ptr) { return ptr; }
-inline void *operator new[](size_t, void *ptr) { return ptr; }
-inline void operator delete(void*, void*) { /* Do nothing */ }
-inline void operator delete[](void*, void*) { /* Do nothing */ }
-
#endif