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
8ff57ee4
Commit
8ff57ee4
authored
Jun 16, 2004
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ut0mem.c:
Remove printf's that were accidentally pushed in the last push
parent
0aa9e45e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
innobase/ut/ut0mem.c
innobase/ut/ut0mem.c
+0
-7
No files found.
innobase/ut/ut0mem.c
View file @
8ff57ee4
...
...
@@ -202,10 +202,7 @@ ut_realloc(
ulint
min_size
;
void
*
new_ptr
;
printf
(
"Calling realloc with size %lu
\n
"
,
size
);
if
(
ptr
==
NULL
)
{
printf
(
"ptr was NULL, calling malloc
\n
"
);
return
(
ut_malloc
(
size
));
}
...
...
@@ -222,8 +219,6 @@ ut_realloc(
old_size
=
block
->
size
-
sizeof
(
ut_mem_block_t
);
printf
(
"Old size was %lu
\n
"
,
old_size
);
if
(
size
<
old_size
)
{
min_size
=
size
;
}
else
{
...
...
@@ -240,8 +235,6 @@ ut_realloc(
/* Copy the old data from ptr */
ut_memcpy
(
new_ptr
,
ptr
,
min_size
);
printf
(
"Copying %lu bytes to new_ptr
\n
"
,
min_size
);
ut_free
(
ptr
);
return
(
new_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