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
37788da7
Commit
37788da7
authored
Nov 06, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reapplied portability changes, from changesets by kent, joerg and msvensson
parent
9b532768
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
10 deletions
+15
-10
cmd-line-utils/readline/complete.c
cmd-line-utils/readline/complete.c
+2
-1
include/my_bitmap.h
include/my_bitmap.h
+4
-4
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-0
mysys/base64.c
mysys/base64.c
+4
-3
sql/handler.h
sql/handler.h
+0
-1
storage/bdb/Makefile.in
storage/bdb/Makefile.in
+1
-1
storage/bdb/build_unix/.IGNORE_ME
storage/bdb/build_unix/.IGNORE_ME
+3
-0
No files found.
cmd-line-utils/readline/complete.c
View file @
37788da7
...
...
@@ -33,7 +33,8 @@
#include <fcntl.h>
#if defined (HAVE_SYS_FILE_H)
/* FreeBSD 5.3 will not declare u_int in sys/types.h, file.h needs it */
#if defined (HAVE_SYS_FILE_H) && !defined(__FreeBSD__)
# include <sys/file.h>
#endif
...
...
include/my_bitmap.h
View file @
37788da7
...
...
@@ -96,25 +96,25 @@ extern void bitmap_lock_invert(MY_BITMAP *map);
#define _bitmap_is_set(MAP, BIT) (((uchar*)(MAP)->bitmap)[(BIT) / 8] \
& (1 << ((BIT) & 7)))
#ifndef DBUG_OFF
inline
uint32
static
inline
uint32
bitmap_set_bit
(
MY_BITMAP
*
map
,
uint
bit
)
{
DBUG_ASSERT
(
bit
<
(
map
)
->
n_bits
);
return
_bitmap_set_bit
(
map
,
bit
);
}
inline
uint32
static
inline
uint32
bitmap_flip_bit
(
MY_BITMAP
*
map
,
uint
bit
)
{
DBUG_ASSERT
(
bit
<
(
map
)
->
n_bits
);
return
_bitmap_flip_bit
(
map
,
bit
);
}
inline
uint32
static
inline
uint32
bitmap_clear_bit
(
MY_BITMAP
*
map
,
uint
bit
)
{
DBUG_ASSERT
(
bit
<
(
map
)
->
n_bits
);
return
_bitmap_clear_bit
(
map
,
bit
);
}
inline
uint32
static
inline
uint32
bitmap_is_set
(
const
MY_BITMAP
*
map
,
uint
bit
)
{
DBUG_ASSERT
(
bit
<
(
map
)
->
n_bits
);
...
...
mysql-test/t/disabled.def
View file @
37788da7
...
...
@@ -16,3 +16,4 @@ rpl_until : Unstable test case, bug#12429
rpl_deadlock : Unstable test case, bug#12429
kill : Unstable test case, bug#9712
archive_gis : The test fails on 32bit Linux
compress : Magnus will fix
mysys/base64.c
View file @
37788da7
...
...
@@ -15,7 +15,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <base64.h>
#include <m_string.h> /
/ strchr()
#include <m_string.h>
/
* strchr() */
#ifndef MAIN
...
...
@@ -134,7 +134,8 @@ base64_decode(const char *src, size_t size, void *dst)
{
char
b
[
3
];
size_t
i
=
0
;
unsigned
char
*
d
=
(
unsigned
char
*
)
dst
;
char
*
dst_base
=
(
char
*
)
dst
;
char
*
d
=
dst_base
;
size_t
j
;
while
(
i
<
size
)
...
...
@@ -193,7 +194,7 @@ base64_decode(const char *src, size_t size, void *dst)
{
return
-
1
;
}
return
d
-
(
unsigned
char
*
)
dst
;
return
d
-
dst_base
;
}
...
...
sql/handler.h
View file @
37788da7
...
...
@@ -491,7 +491,6 @@ typedef struct {
longlong
list_value
;
uint
partition_id
;
}
LIST_PART_ENTRY
;
enum
Item_result
;
class
partition_info
;
...
...
storage/bdb/Makefile.in
View file @
37788da7
...
...
@@ -30,7 +30,7 @@ subdirs = btree build_vxworks build_win32 clib common cxx db dbinc \
db_verify dbm dbreg dist
env
examples_c examples_cxx fileops
hash
\
hsearch hmac include java libdb_java lock log mp mutex os os_vxworks
\
os_win32 perl.BerkeleyDB perl.DB_File qam rep rpc_client rpc_server tcl
\
test
txn xa
test
txn xa
sequence
@SET_MAKE@
...
...
storage/bdb/build_unix/.IGNORE_ME
0 → 100644
View file @
37788da7
Some combinations of the gzip and tar archive exploders found
on Linux systems ignore directories that don't have any files
(other than symbolic links) in them. So, here's a file.
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