Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
54b04ff5
Commit
54b04ff5
authored
Feb 23, 2007
by
mats@romeo.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#19033 (RBR: slave does not handle schema changes correctly):
Post-merge fixes.
parent
2114ea31
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
include/my_global.h
include/my_global.h
+11
-0
sql/slave.h
sql/slave.h
+0
-9
storage/ndb/include/ndb_global.h.in
storage/ndb/include/ndb_global.h.in
+0
-2
No files found.
include/my_global.h
View file @
54b04ff5
...
@@ -1512,4 +1512,15 @@ do { doubleget_union _tmp; \
...
@@ -1512,4 +1512,15 @@ do { doubleget_union _tmp; \
#define dlerror() ""
#define dlerror() ""
#endif
#endif
/*
Define placement versions of operator new and operator delete since
we cannot be sure that the <new> include exists.
*/
#ifdef __cplusplus
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
#endif
/* my_global_h */
#endif
/* my_global_h */
sql/slave.h
View file @
54b04ff5
...
@@ -214,15 +214,6 @@ extern I_List<THD> threads;
...
@@ -214,15 +214,6 @@ extern I_List<THD> threads;
#define SLAVE_IO 1
#define SLAVE_IO 1
#define SLAVE_SQL 2
#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
#endif
storage/ndb/include/ndb_global.h.in
View file @
54b04ff5
...
@@ -115,8 +115,6 @@ static const char table_name_separator = '/';
...
@@ -115,8 +115,6 @@ static const char table_name_separator = '/';
#endif
#endif
#ifdef __cplusplus
#ifdef __cplusplus
inline void* operator new(size_t, void* __p) { return __p; }
inline void* operator new[](size_t, void* __p) { return __p; }
extern "C" {
extern "C" {
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment