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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
a00152e9
Commit
a00152e9
authored
May 27, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space2/tomas/mysql-4.1
parents
9b2682e6
f9e8b64e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ndb/src/common/portlib/gcc.cpp
ndb/src/common/portlib/gcc.cpp
+1
-1
ndb/src/common/util/new.cpp
ndb/src/common/util/new.cpp
+4
-0
No files found.
ndb/src/common/portlib/gcc.cpp
View file @
a00152e9
...
...
@@ -2,6 +2,6 @@
/**
* GCC linking problem...
*/
#if
( __GNUC__ == 3 )
#if
def DEFINE_CXA_PURE_VIRTUAL
extern
"C"
{
int
__cxa_pure_virtual
()
{
return
0
;}
}
#endif
ndb/src/common/util/new.cpp
View file @
a00152e9
...
...
@@ -5,6 +5,8 @@ extern "C" {
void
(
*
ndb_new_handler
)()
=
0
;
}
#ifdef USE_MYSYS_NEW
void
*
operator
new
(
size_t
sz
)
{
void
*
p
=
malloc
(
sz
?
sz
:
1
);
...
...
@@ -36,3 +38,5 @@ void operator delete[] (void *ptr) throw ()
if
(
ptr
)
free
(
ptr
);
}
#endif // USE_MYSYS_NEW
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