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
e906ffcf
Commit
e906ffcf
authored
Feb 18, 2011
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linker error, missing extern "C" for mi_killed.
Fix is to move extern "C" at the start of header file.
parent
2813f568
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
storage/myisam/myisamdef.h
storage/myisam/myisamdef.h
+5
-3
No files found.
storage/myisam/myisamdef.h
View file @
e906ffcf
...
@@ -25,6 +25,10 @@
...
@@ -25,6 +25,10 @@
#include <my_no_pthread.h>
#include <my_no_pthread.h>
#endif
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
#if defined(my_write) && !defined(MAP_TO_USE_RAID)
#if defined(my_write) && !defined(MAP_TO_USE_RAID)
/* undef map from my_nosys; We need test-if-disk full */
/* undef map from my_nosys; We need test-if-disk full */
#undef my_write
#undef my_write
...
@@ -655,9 +659,7 @@ enum myisam_log_commands
...
@@ -655,9 +659,7 @@ enum myisam_log_commands
#define fast_mi_writeinfo(INFO) if (!(INFO)->s->tot_locks) (void) _mi_writeinfo((INFO),0)
#define fast_mi_writeinfo(INFO) if (!(INFO)->s->tot_locks) (void) _mi_writeinfo((INFO),0)
#define fast_mi_readinfo(INFO) ((INFO)->lock_type == F_UNLCK) && _mi_readinfo((INFO),F_RDLCK,1)
#define fast_mi_readinfo(INFO) ((INFO)->lock_type == F_UNLCK) && _mi_readinfo((INFO),F_RDLCK,1)
#ifdef __cplusplus
extern
"C"
{
#endif
extern
uint
_mi_get_block_info
(
MI_BLOCK_INFO
*
,
File
,
my_off_t
);
extern
uint
_mi_get_block_info
(
MI_BLOCK_INFO
*
,
File
,
my_off_t
);
extern
uint
_mi_rec_pack
(
MI_INFO
*
info
,
uchar
*
to
,
const
uchar
*
from
);
extern
uint
_mi_rec_pack
(
MI_INFO
*
info
,
uchar
*
to
,
const
uchar
*
from
);
extern
uint
_mi_pack_get_block_info
(
MI_INFO
*
myisam
,
MI_BIT_BUFF
*
bit_buff
,
extern
uint
_mi_pack_get_block_info
(
MI_INFO
*
myisam
,
MI_BIT_BUFF
*
bit_buff
,
...
...
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