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
12f9623b
Commit
12f9623b
authored
Jun 20, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
parents
f3cc808a
b341b594
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
client/mysql.cc
client/mysql.cc
+4
-2
libmysqld/examples/Makefile.am
libmysqld/examples/Makefile.am
+1
-1
mit-pthreads/machdep/linux-2.0/__string.h
mit-pthreads/machdep/linux-2.0/__string.h
+0
-2
mysys/my_thr_init.c
mysys/my_thr_init.c
+1
-1
No files found.
client/mysql.cc
View file @
12f9623b
...
...
@@ -1491,7 +1491,7 @@ com_go(String *buffer,char *line __attribute__((unused)))
static
void
init_pager
()
{
#if !defined( __WIN__) && !defined( OS2)
#if !defined( __WIN__) && !defined( OS2)
&& (!defined(HAVE_mit_thread) && defined(THREAD))
if
(
!
opt_nopager
)
{
if
(
!
(
PAGER
=
popen
(
pager
,
"w"
)))
...
...
@@ -1507,7 +1507,7 @@ static void init_pager()
static
void
end_pager
()
{
#if !defined( __WIN__) && !defined( OS2)
#if !defined( __WIN__) && !defined( OS2)
&& (!defined(HAVE_mit_thread) && defined(THREAD))
if
(
!
opt_nopager
)
pclose
(
PAGER
);
#endif
...
...
@@ -2498,9 +2498,11 @@ void tee_putc(int c, FILE *file)
#include <time.h>
#else
#include <sys/times.h>
#ifdef _SC_CLK_TCK // For mit-pthreads
#undef CLOCKS_PER_SEC
#define CLOCKS_PER_SEC (sysconf(_SC_CLK_TCK))
#endif
#endif
static
ulong
start_timer
(
void
)
{
...
...
libmysqld/examples/Makefile.am
View file @
12f9623b
...
...
@@ -8,7 +8,7 @@ link_sources:
done
;
DEFS
=
-DEMBEDDED_LIBRARY
INCLUDES
=
-I
$(top_srcdir)
/include
$(openssl_includes)
\
INCLUDES
=
@MT_INCLUDES@
-I
$(top_srcdir)
/include
$(openssl_includes)
\
-I
$(srcdir)
-I
$(top_srcdir)
-I
$(top_srcdir)
/client
LIBS
=
@LIBS@
LDADD
=
@CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @innodb_system_libs@ @LIBDL@
$(CXXLDFLAGS)
...
...
mit-pthreads/machdep/linux-2.0/__string.h
View file @
12f9623b
...
...
@@ -5,7 +5,6 @@ typedef pthread_size_t size_t;
#endif
/* Non-standard Linux string routines. */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
__BEGIN_DECLS
int
bcmp
__P_
((
const
void
*
,
const
void
*
,
size_t
));
void
bcopy
__P_
((
const
void
*
,
void
*
,
size_t
));
...
...
@@ -15,4 +14,3 @@ char *rindex __P_((const char *, int));
char
*
strdup
__P_
((
const
char
*
));
char
*
strsep
__P_
((
char
**
,
const
char
*
));
__END_DECLS
#endif
mysys/my_thr_init.c
View file @
12f9623b
...
...
@@ -55,7 +55,7 @@ my_bool my_thread_global_init(void)
pthread_mutexattr_init
(
&
my_fast_mutexattr
);
pthread_mutexattr_setkind_np
(
&
my_fast_mutexattr
,
PTHREAD_MUTEX_ADAPTIVE_NP
);
#endif
#ifdef P
P
THREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
#ifdef PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
pthread_mutexattr_init
(
&
my_errchk_mutexattr
);
pthread_mutexattr_setkind_np
(
&
my_errchk_mutexattr
,
PTHREAD_MUTEX_ERRORCHECK_NP
);
...
...
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