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
13570dcf
Commit
13570dcf
authored
Nov 04, 2004
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linking problem fix
parent
d3dc041d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
13 deletions
+23
-13
server-tools/instance-manager/Makefile.am
server-tools/instance-manager/Makefile.am
+21
-11
server-tools/instance-manager/instance_map.cc
server-tools/instance-manager/instance_map.cc
+2
-2
No files found.
server-tools/instance-manager/Makefile.am
View file @
13570dcf
...
...
@@ -23,7 +23,7 @@ DEFS= -DMYSQL_INSTANCE_MANAGER
# default_options.h, generated from default_options.h.in)
# See automake/autoconf docs for details
noinst_LIBRARIES
=
liboptions.a libnet.a
noinst_LIBRARIES
=
liboptions.a libnet.a
libalarm.a
liboptions_a_CPPFLAGS
=
$(CPPFLAGS)
\
-DDEFAULT_PID_FILE_NAME
=
"
$(localstatedir)
/mysqlmanager.pid"
\
...
...
@@ -45,7 +45,14 @@ liboptions_a_SOURCES= options.h options.cc priv.h priv.cc
nodist_libnet_a_SOURCES
=
password.c pack.c sql_state.c net_serv.cc
nodist_libnet_a_CPPFLAGS
=
$(CPPFLAGS)
-DMYSQL_SERVER
CLEANFILES
=
net_serv.cc password.c pack.c sql_state.c
nodist_libalarm_a_SOURCES
=
thr_alarm.c
nodist_libalarm_a_CPPFLAGS
=
$(CPPFLAGS)
-DMYSQL_SERVER
libalarm_a_LIBADD
=
$(top_builddir)
/mysys/mf_qsort2.o
\
$(top_builddir)
/mysys/queues.o
\
$(top_builddir)
/mysys/my_new.o
CLEANFILES
=
net_serv.cc password.c pack.c sql_state.c thr_alarm.c
net_serv.cc
:
Makefile
rm
-f
$(srcdir)
/net_serv.cc
...
...
@@ -63,32 +70,35 @@ sql_state.c: Makefile
rm
-f
$(srcdir)
/sql_state.c
@
LN_CP_F@
$(top_srcdir)
/sql/sql_state.c
$(srcdir)
/sql_state.c
thr_alarm.c
:
Makefile
rm
-f
$(srcdir)
/thr_alarm.c
@
LN_CP_F@
$(top_srcdir)
/mysys/thr_alarm.c
$(srcdir)
/thr_alarm.c
bin_PROGRAMS
=
mysqlmanager
mysqlmanager_SOURCES
=
mysqlmanager.cc manager.h manager.cc log.h log.cc
\
mysqlmanager_SOURCES
=
command.cc command.h mysqlmanager.cc
\
manager.h manager.cc log.h log.cc
\
thread_registry.h thread_registry.cc
\
listener.h listener.cc
\
listener.h listener.cc
protocol.h protocol.cc
\
mysql_connection.h mysql_connection.cc
\
protocol.h protocol.cc
\
user_map.h user_map.cc
\
messages.h messages.cc
\
$(top_srcdir)
/sql/sql_string.cc
\
command.h command.cc
\
commands.h commands.cc
\
factory.h factory.cc
\
instance.h instance.cc
\
instance_map.h instance_map.cc
\
instance_options.h instance_options.cc
\
buffer.h buffer.cc parse.cc parse.h
\
guardian.cc guardian.h mysql_manager_error.h
guardian.cc guardian.h common_structures.h
\
mysql_manager_error.h
mysqlmanager_LDADD
=
liboptions.a
\
libnet.a
\
libalarm.a
\
$(top_builddir)
/vio/libvio.a
\
$(top_builddir)
/mysys/libmysys.a
\
$(top_builddir)
/strings/libmystrings.a
\
$(top_builddir)
/dbug/libdbug.a
\
$(top_builddir)
/libmysql/libmysqlclient.la
$(top_builddir)
/libmysql_r/libmysqlclient_r.la
\
$(top_builddir)
/dbug/libdbug.a
-lz
tags
:
...
...
server-tools/instance-manager/instance_map.cc
View file @
13570dcf
...
...
@@ -141,13 +141,13 @@ Instance_map::~Instance_map()
int
Instance_map
::
lock
()
{
pthread_mutex_lock
(
&
LOCK_instance_map
);
return
pthread_mutex_lock
(
&
LOCK_instance_map
);
}
int
Instance_map
::
unlock
()
{
pthread_mutex_unlock
(
&
LOCK_instance_map
);
return
pthread_mutex_unlock
(
&
LOCK_instance_map
);
}
...
...
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