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
f48e47ea
Commit
f48e47ea
authored
Apr 09, 2010
by
bo.thorsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Windows compile
parent
5b8c42d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
sql/mysqld.cc
sql/mysqld.cc
+4
-1
storage/maria/ma_loghandler.c
storage/maria/ma_loghandler.c
+2
-1
No files found.
sql/mysqld.cc
View file @
f48e47ea
...
...
@@ -2664,8 +2664,11 @@ bugs.\n");
end:
#ifndef __WIN__
/*
On Windows, do not terminate, but pass control to exception filter
*/
/*
Terminate
*/
exit
(
1
);
#else
/* On Windows, do not terminate, but pass control to exception filter */
;
#endif
}
...
...
storage/maria/ma_loghandler.c
View file @
f48e47ea
...
...
@@ -1397,8 +1397,9 @@ LSN translog_get_file_max_lsn_stored(uint32 file)
{
LOGHANDLER_FILE_INFO
info
;
File
fd
;
LINT_INIT_STRUCT
(
info
);
File
fd
=
open_logfile_by_number_no_cache
(
file
);
fd
=
open_logfile_by_number_no_cache
(
file
);
if
((
fd
<
0
)
||
(
translog_read_file_header
(
&
info
,
fd
)
|
my_close
(
fd
,
MYF
(
MY_WME
))))
{
...
...
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