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
88773a8c
Commit
88773a8c
authored
Mar 07, 2005
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/M41/mysql-4.1
parents
ce870852
ab271b4d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
include/my_sys.h
include/my_sys.h
+2
-0
mysys/hash.c
mysys/hash.c
+1
-1
mysys/my_bitmap.c
mysys/my_bitmap.c
+2
-4
No files found.
include/my_sys.h
View file @
88773a8c
...
...
@@ -189,11 +189,13 @@ void __CDECL hfree(void *ptr);
#endif
#endif
/* MSDOS */
#ifndef errno
/* did we already get it? */
#ifdef HAVE_ERRNO_AS_DEFINE
#include <errno.h>
/* errno is a define */
#else
extern
int
errno
;
/* declare errno */
#endif
#endif
/* #ifndef errno */
extern
const
char
**
NEAR
my_errmsg
[];
extern
char
NEAR
errbuff
[
NRERRBUFFS
][
ERRMSGSIZE
];
extern
char
*
home_dir
;
/* Home directory for user */
...
...
mysys/hash.c
View file @
88773a8c
...
...
@@ -175,7 +175,7 @@ static uint hash_rec_mask(HASH *hash,HASH_LINK *pos,uint buffmax,
/* for compilers which can not handle inline */
static
#if !defined(__
SUNPRO_C) && !defined(__
USLC__) && !defined(__sgi)
#if !defined(__USLC__) && !defined(__sgi)
inline
#endif
unsigned
int
rec_hashnr
(
HASH
*
hash
,
const
byte
*
record
)
...
...
mysys/my_bitmap.c
View file @
88773a8c
...
...
@@ -37,8 +37,7 @@
#include <my_bitmap.h>
#include <m_string.h>
static
inline
void
bitmap_lock
(
MY_BITMAP
*
map
)
static
inline
void
bitmap_lock
(
MY_BITMAP
*
map
)
{
#ifdef THREAD
if
(
map
->
mutex
)
...
...
@@ -46,8 +45,7 @@ static inline void bitmap_lock(MY_BITMAP *map)
#endif
}
static
inline
void
bitmap_unlock
(
MY_BITMAP
*
map
)
static
inline
void
bitmap_unlock
(
MY_BITMAP
*
map
)
{
#ifdef THREAD
if
(
map
->
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