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
af02e27e
Commit
af02e27e
authored
Oct 30, 2003
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for bug #1634 '"operator new" in my_new wastes memory'
parent
76ff0478
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
mysys/my_new.cc
mysys/my_new.cc
+2
-2
No files found.
BitKeeper/etc/logging_ok
View file @
af02e27e
...
@@ -48,6 +48,7 @@ jcole@sarvik.tfr.cafe.ee
...
@@ -48,6 +48,7 @@ jcole@sarvik.tfr.cafe.ee
jcole@tetra.spaceapes.com
jcole@tetra.spaceapes.com
jorge@linux.jorge.mysql.com
jorge@linux.jorge.mysql.com
kaj@work.mysql.com
kaj@work.mysql.com
konstantin@mysql.com
kostja@oak.local
kostja@oak.local
lenz@kallisto.mysql.com
lenz@kallisto.mysql.com
lenz@mysql.com
lenz@mysql.com
...
...
mysys/my_new.cc
View file @
af02e27e
...
@@ -25,12 +25,12 @@
...
@@ -25,12 +25,12 @@
void
*
operator
new
(
size_t
sz
)
void
*
operator
new
(
size_t
sz
)
{
{
return
(
void
*
)
malloc
(
sz
?
sz
+
1
:
sz
);
return
(
void
*
)
malloc
(
sz
?
sz
:
1
);
}
}
void
*
operator
new
[]
(
size_t
sz
)
void
*
operator
new
[]
(
size_t
sz
)
{
{
return
(
void
*
)
malloc
(
sz
?
sz
+
1
:
sz
);
return
(
void
*
)
malloc
(
sz
?
sz
:
1
);
}
}
void
operator
delete
(
void
*
ptr
)
void
operator
delete
(
void
*
ptr
)
...
...
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