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
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
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
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
sql/net_serv.cc
sql/net_serv.cc
+1
-1
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
)
...
...
sql/net_serv.cc
View file @
88773a8c
...
...
@@ -251,7 +251,7 @@ my_bool
my_net_write
(
NET
*
net
,
const
char
*
packet
,
ulong
len
)
{
uchar
buff
[
NET_HEADER_SIZE
];
if
(
unlikely
(
!
net
->
vio
))
/* nowhere to write */
if
(
unlikely
(
!
net
->
vio
))
/* nowhere to write */
return
0
;
/*
Big packets are handled by splitting them in packets of MAX_PACKET_LENGTH
...
...
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