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
2df836e3
Commit
2df836e3
authored
Jan 10, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround internal compiler error in Visual Studio 2003.
parent
0ac29796
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
storage/maria/ma_create.c
storage/maria/ma_create.c
+12
-0
No files found.
storage/maria/ma_create.c
View file @
2df836e3
...
...
@@ -1331,6 +1331,13 @@ int _ma_update_create_rename_lsn(MARIA_SHARE *share,
@retval 1 error (disk problem)
*/
#if (_MSC_VER == 1310)
/*
Visual Studio 2003 compiler produces internal compiler error
in this function. Disable optimizations to workaround.
*/
#pragma optimize("",off)
#endif
int
_ma_update_create_rename_lsn_sub
(
MARIA_SHARE
*
share
,
LSN
lsn
,
my_bool
do_sync
)
{
...
...
@@ -1358,3 +1365,8 @@ int _ma_update_create_rename_lsn_sub(MARIA_SHARE *share,
MARIA_FILE_CREATE_RENAME_LSN_OFFSET
,
MYF
(
MY_NABP
))
||
(
do_sync
&&
my_sync
(
file
,
MYF
(
0
)));
}
#if (_MSC_VER == 1310)
#pragma optimize("",on)
#endif
/*VS2003 compiler bug workaround*/
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