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
65d31b3e
Commit
65d31b3e
authored
Nov 19, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile.am, mysqladmin.cc:
reverting linking ndbclisnt to mysqladmin.cc
parent
fcb57426
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
client/Makefile.am
client/Makefile.am
+1
-2
client/mysqladmin.cc
client/mysqladmin.cc
+6
-6
No files found.
client/Makefile.am
View file @
65d31b3e
...
@@ -20,8 +20,7 @@
...
@@ -20,8 +20,7 @@
INCLUDES
=
-I
$(top_srcdir)
/include
-I
$(top_srcdir)
/regex
\
INCLUDES
=
-I
$(top_srcdir)
/include
-I
$(top_srcdir)
/regex
\
$(openssl_includes)
$(openssl_includes)
LIBS
=
@CLIENT_LIBS@
LIBS
=
@CLIENT_LIBS@
DEPLIB
=
@ndb_mgmclient_libs@
\
DEPLIB
=
../libmysql/libmysqlclient.la
../libmysql/libmysqlclient.la
LDADD
=
@CLIENT_EXTRA_LDFLAGS@
$(DEPLIB)
LDADD
=
@CLIENT_EXTRA_LDFLAGS@
$(DEPLIB)
bin_PROGRAMS
=
mysql mysqladmin mysqlcheck mysqlshow
\
bin_PROGRAMS
=
mysql mysqladmin mysqlcheck mysqlshow
\
mysqldump mysqlimport mysqltest mysqlbinlog mysqlmanagerc mysqlmanager-pwgen
mysqldump mysqlimport mysqltest mysqlbinlog mysqlmanagerc mysqlmanager-pwgen
...
...
client/mysqladmin.cc
View file @
65d31b3e
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <mysql.h>
#include <mysql.h>
#ifdef HAVE_NDBCLUSTER_DB
#ifdef
LATER_
HAVE_NDBCLUSTER_DB
#include "../ndb/src/mgmclient/ndb_mgmclient.h"
#include "../ndb/src/mgmclient/ndb_mgmclient.h"
#endif
#endif
...
@@ -45,7 +45,7 @@ static uint tcp_port = 0, option_wait = 0, option_silent=0, nr_iterations,
...
@@ -45,7 +45,7 @@ static uint tcp_port = 0, option_wait = 0, option_silent=0, nr_iterations,
opt_count_iterations
=
0
;
opt_count_iterations
=
0
;
static
ulong
opt_connect_timeout
,
opt_shutdown_timeout
;
static
ulong
opt_connect_timeout
,
opt_shutdown_timeout
;
static
my_string
unix_port
=
0
;
static
my_string
unix_port
=
0
;
#ifdef HAVE_NDBCLUSTER_DB
#ifdef
LATER_
HAVE_NDBCLUSTER_DB
static
my_bool
opt_ndbcluster
=
0
;
static
my_bool
opt_ndbcluster
=
0
;
static
char
*
opt_ndb_connectstring
=
0
;
static
char
*
opt_ndb_connectstring
=
0
;
#endif
#endif
...
@@ -101,7 +101,7 @@ enum commands {
...
@@ -101,7 +101,7 @@ enum commands {
ADMIN_PING
,
ADMIN_EXTENDED_STATUS
,
ADMIN_FLUSH_STATUS
,
ADMIN_PING
,
ADMIN_EXTENDED_STATUS
,
ADMIN_FLUSH_STATUS
,
ADMIN_FLUSH_PRIVILEGES
,
ADMIN_START_SLAVE
,
ADMIN_STOP_SLAVE
,
ADMIN_FLUSH_PRIVILEGES
,
ADMIN_START_SLAVE
,
ADMIN_STOP_SLAVE
,
ADMIN_FLUSH_THREADS
,
ADMIN_OLD_PASSWORD
ADMIN_FLUSH_THREADS
,
ADMIN_OLD_PASSWORD
#ifdef HAVE_NDBCLUSTER_DB
#ifdef
LATER_
HAVE_NDBCLUSTER_DB
,
ADMIN_NDB_MGM
,
ADMIN_NDB_MGM
#endif
#endif
};
};
...
@@ -114,7 +114,7 @@ static const char *command_names[]= {
...
@@ -114,7 +114,7 @@ static const char *command_names[]= {
"ping"
,
"extended-status"
,
"flush-status"
,
"ping"
,
"extended-status"
,
"flush-status"
,
"flush-privileges"
,
"start-slave"
,
"stop-slave"
,
"flush-privileges"
,
"start-slave"
,
"stop-slave"
,
"flush-threads"
,
"old-password"
,
"flush-threads"
,
"old-password"
,
#ifdef HAVE_NDBCLUSTER_DB
#ifdef
LATER_
HAVE_NDBCLUSTER_DB
"ndb-mgm"
,
"ndb-mgm"
,
#endif
#endif
NullS
NullS
...
@@ -197,7 +197,7 @@ static struct my_option my_long_options[] =
...
@@ -197,7 +197,7 @@ static struct my_option my_long_options[] =
{
"shutdown_timeout"
,
OPT_SHUTDOWN_TIMEOUT
,
""
,
(
gptr
*
)
&
opt_shutdown_timeout
,
{
"shutdown_timeout"
,
OPT_SHUTDOWN_TIMEOUT
,
""
,
(
gptr
*
)
&
opt_shutdown_timeout
,
(
gptr
*
)
&
opt_shutdown_timeout
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
(
gptr
*
)
&
opt_shutdown_timeout
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
SHUTDOWN_DEF_TIMEOUT
,
0
,
3600
*
12
,
0
,
1
,
0
},
SHUTDOWN_DEF_TIMEOUT
,
0
,
3600
*
12
,
0
,
1
,
0
},
#ifdef HAVE_NDBCLUSTER_DB
#ifdef
LATER_
HAVE_NDBCLUSTER_DB
{
"ndbcluster"
,
OPT_NDBCLUSTER
,
""
{
"ndbcluster"
,
OPT_NDBCLUSTER
,
""
""
,
(
gptr
*
)
&
opt_ndbcluster
,
""
,
(
gptr
*
)
&
opt_ndbcluster
,
(
gptr
*
)
&
opt_ndbcluster
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
(
gptr
*
)
&
opt_ndbcluster
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
...
@@ -903,7 +903,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
...
@@ -903,7 +903,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
}
}
mysql
->
reconnect
=
1
;
/* Automatic reconnect is default */
mysql
->
reconnect
=
1
;
/* Automatic reconnect is default */
break
;
break
;
#ifdef HAVE_NDBCLUSTER_DB
#ifdef
LATER_
HAVE_NDBCLUSTER_DB
case
ADMIN_NDB_MGM
:
case
ADMIN_NDB_MGM
:
{
{
if
(
argc
<
2
)
if
(
argc
<
2
)
...
...
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