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
3b5f66db
Commit
3b5f66db
authored
Jan 23, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix XtraDB to compile on Windows
parent
c7a5314c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
storage/xtradb/log/log0log.c
storage/xtradb/log/log0log.c
+7
-1
No files found.
storage/xtradb/log/log0log.c
View file @
3b5f66db
...
@@ -36,6 +36,12 @@ Created 12/9/1995 Heikki Tuuri
...
@@ -36,6 +36,12 @@ Created 12/9/1995 Heikki Tuuri
#include "log0log.ic"
#include "log0log.ic"
#endif
#endif
#ifdef HAVE_ALLOCA_H
#include "alloca.h"
#elif defined(HAVE_MALLOC_H)
#include "malloc.h"
#endif
#ifndef UNIV_HOTBACKUP
#ifndef UNIV_HOTBACKUP
#include "mem0mem.h"
#include "mem0mem.h"
#include "buf0buf.h"
#include "buf0buf.h"
...
@@ -273,7 +279,7 @@ log_buffer_extend(
...
@@ -273,7 +279,7 @@ log_buffer_extend(
{
{
ulint
move_start
;
ulint
move_start
;
ulint
move_end
;
ulint
move_end
;
byte
tmp_buf
[
OS_FILE_LOG_BLOCK_SIZE
]
;
byte
*
tmp_buf
=
alloca
(
OS_FILE_LOG_BLOCK_SIZE
)
;
mutex_enter
(
&
(
log_sys
->
mutex
));
mutex_enter
(
&
(
log_sys
->
mutex
));
...
...
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