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
babd0e87
Commit
babd0e87
authored
Feb 24, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ut0mem.c:
Print correct OS error number also on Windows if we run out of memory
parent
ed964a1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
innobase/ut/ut0mem.c
innobase/ut/ut0mem.c
+7
-1
No files found.
innobase/ut/ut0mem.c
View file @
babd0e87
...
...
@@ -88,7 +88,13 @@ ut_malloc_low(
"InnoDB: a big enough maximum process size.
\n
"
"InnoDB: We now intentionally generate a seg fault so that
\n
"
"InnoDB: on Linux we get a stack trace.
\n
"
,
n
,
ut_total_allocated_memory
,
errno
);
n
,
ut_total_allocated_memory
,
#ifdef __WIN__
(
ulint
)
GetLastError
()
#else
(
ulint
)
errno
#endif
);
/* Flush stderr to make more probable that the error
message gets in the error file before we generate a seg
...
...
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