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
2c032db5
Commit
2c032db5
authored
May 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bkroot/mysql-4.1 into mysql.com:/home/bk/c4944-4.1
parents
e55210cf
f7be4503
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
11 deletions
+10
-11
include/my_global.h
include/my_global.h
+1
-1
myisammrg/myrg_open.c
myisammrg/myrg_open.c
+3
-1
mysys/my_getwd.c
mysys/my_getwd.c
+4
-1
ndb/src/cw/cpcd/Process.cpp
ndb/src/cw/cpcd/Process.cpp
+1
-4
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
+0
-4
sql/ha_myisammrg.cc
sql/ha_myisammrg.cc
+1
-0
No files found.
include/my_global.h
View file @
2c032db5
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
#endif
/* __CYGWIN__ */
#endif
/* __CYGWIN__ */
/* Determine when to use "#pragma interface" */
/* Determine when to use "#pragma interface" */
#if !defined(__CYGWIN__) && !defined(__I
CC
) && defined(__GNUC__) && (__GNUC__ < 3)
#if !defined(__CYGWIN__) && !defined(__I
NTEL_COMPILER
) && defined(__GNUC__) && (__GNUC__ < 3)
#define USE_PRAGMA_INTERFACE
#define USE_PRAGMA_INTERFACE
#endif
#endif
...
...
myisammrg/myrg_open.c
View file @
2c032db5
...
@@ -67,7 +67,7 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking)
...
@@ -67,7 +67,7 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking)
while
((
length
=
my_b_gets
(
&
file
,
buff
,
FN_REFLEN
-
1
)))
while
((
length
=
my_b_gets
(
&
file
,
buff
,
FN_REFLEN
-
1
)))
{
{
if
((
end
=
buff
+
length
)[
-
1
]
==
'\n'
)
if
((
end
=
buff
+
length
)[
-
1
]
==
'\n'
)
end
[
-
1
]
=
'\0'
;
*--
end
=
'\0'
;
if
(
!
buff
[
0
])
if
(
!
buff
[
0
])
continue
;
/* Skip empty lines */
continue
;
/* Skip empty lines */
if
(
buff
[
0
]
==
'#'
)
if
(
buff
[
0
]
==
'#'
)
...
@@ -86,6 +86,8 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking)
...
@@ -86,6 +86,8 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking)
sizeof
(
name_buff
)
-
1
-
dir_length
));
sizeof
(
name_buff
)
-
1
-
dir_length
));
VOID
(
cleanup_dirname
(
buff
,
name_buff
));
VOID
(
cleanup_dirname
(
buff
,
name_buff
));
}
}
else
fn_format
(
buff
,
buff
,
""
,
""
,
0
);
if
(
!
(
isam
=
mi_open
(
buff
,
mode
,(
handle_locking
?
HA_OPEN_WAIT_IF_LOCKED
:
0
))))
if
(
!
(
isam
=
mi_open
(
buff
,
mode
,(
handle_locking
?
HA_OPEN_WAIT_IF_LOCKED
:
0
))))
goto
err
;
goto
err
;
if
(
!
m_info
)
/* First file */
if
(
!
m_info
)
/* First file */
...
...
mysys/my_getwd.c
View file @
2c032db5
...
@@ -209,6 +209,9 @@ int test_if_hard_path(register const char *dir_name)
...
@@ -209,6 +209,9 @@ int test_if_hard_path(register const char *dir_name)
my_bool
has_path
(
const
char
*
name
)
my_bool
has_path
(
const
char
*
name
)
{
{
return
test
(
strchr
(
name
,
FN_LIBCHAR
))
return
test
(
strchr
(
name
,
FN_LIBCHAR
))
#if FN_LIBCHAR != '/'
||
test
(
strchr
(
name
,
'/'
))
#endif
#ifdef FN_DEVCHAR
#ifdef FN_DEVCHAR
||
test
(
strchr
(
name
,
FN_DEVCHAR
))
||
test
(
strchr
(
name
,
FN_DEVCHAR
))
#endif
#endif
...
...
ndb/src/cw/cpcd/Process.cpp
View file @
2c032db5
...
@@ -223,11 +223,8 @@ set_ulimit(const BaseString & pair){
...
@@ -223,11 +223,8 @@ set_ulimit(const BaseString & pair){
if
(
!
(
list
[
1
].
trim
()
==
"unlimited"
)){
if
(
!
(
list
[
1
].
trim
()
==
"unlimited"
)){
value
=
atoi
(
list
[
1
].
c_str
());
value
=
atoi
(
list
[
1
].
c_str
());
}
}
#if defined(__INTEL_COMPILER)
struct
rlimit64
rlp
;
#else
struct
rlimit
rlp
;
struct
rlimit
rlp
;
#endif
#define _RLIMIT_FIX(x) { res = getrlimit(x,&rlp); if(!res){ rlp.rlim_cur = value; res = setrlimit(x, &rlp); }}
#define _RLIMIT_FIX(x) { res = getrlimit(x,&rlp); if(!res){ rlp.rlim_cur = value; res = setrlimit(x, &rlp); }}
if
(
list
[
0
].
trim
()
==
"c"
){
if
(
list
[
0
].
trim
()
==
"c"
){
...
...
ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
View file @
2c032db5
...
@@ -799,11 +799,7 @@ AsyncFile::rmrfReq(Request * request, char * path, bool removePath){
...
@@ -799,11 +799,7 @@ AsyncFile::rmrfReq(Request * request, char * path, bool removePath){
request
->
error
=
errno
;
request
->
error
=
errno
;
return
;
return
;
}
}
#if defined(__INTEL_COMPILER)
struct
dirent64
*
dp
;
#else
struct
dirent
*
dp
;
struct
dirent
*
dp
;
#endif
while
((
dp
=
readdir
(
dirp
))
!=
NULL
){
while
((
dp
=
readdir
(
dirp
))
!=
NULL
){
if
((
strcmp
(
"."
,
dp
->
d_name
)
!=
0
)
&&
(
strcmp
(
".."
,
dp
->
d_name
)
!=
0
))
{
if
((
strcmp
(
"."
,
dp
->
d_name
)
!=
0
)
&&
(
strcmp
(
".."
,
dp
->
d_name
)
!=
0
))
{
BaseString
::
snprintf
(
path_add
,
(
size_t
)
path_max_copy
,
"%s%s"
,
BaseString
::
snprintf
(
path_add
,
(
size_t
)
path_max_copy
,
"%s%s"
,
...
...
sql/ha_myisammrg.cc
View file @
2c032db5
...
@@ -422,6 +422,7 @@ int ha_myisammrg::create(const char *name, register TABLE *form,
...
@@ -422,6 +422,7 @@ int ha_myisammrg::create(const char *name, register TABLE *form,
}
}
else
else
table_name
=
(
*
tbl
)
->
path
;
table_name
=
(
*
tbl
)
->
path
;
DBUG_PRINT
(
"info"
,(
"MyISAM table_name: '%s'"
,
table_name
));
*
pos
++=
table_name
;
*
pos
++=
table_name
;
}
}
*
pos
=
0
;
*
pos
=
0
;
...
...
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