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
fe67d648
Commit
fe67d648
authored
Apr 21, 2006
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
parents
7dbc18bd
f0717797
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
3 deletions
+12
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-0
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+1
-1
mysql-test/ndb/ndbcluster.sh
mysql-test/ndb/ndbcluster.sh
+5
-1
storage/ndb/include/util/ndb_opts.h
storage/ndb/include/util/ndb_opts.h
+5
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
fe67d648
...
@@ -1524,6 +1524,7 @@ sub ndbcluster_start ($) {
...
@@ -1524,6 +1524,7 @@ sub ndbcluster_start ($) {
if
(
mtr_run
("
$glob_mysql_test_dir
/ndb/ndbcluster
",
if
(
mtr_run
("
$glob_mysql_test_dir
/ndb/ndbcluster
",
["
--port=
$opt_ndbcluster_port
",
["
--port=
$opt_ndbcluster_port
",
"
--data-dir=
$opt_vardir
",
"
--data-dir=
$opt_vardir
",
"
--character-sets-dir=
$path_charsetsdir
"],
"
--verbose=2
",
"
--verbose=2
",
"
--core
"],
"
--core
"],
"",
"
/dev/null
",
"",
"")
)
"",
"
/dev/null
",
"",
"")
)
...
...
mysql-test/mysql-test-run.sh
View file @
fe67d648
...
@@ -1230,7 +1230,7 @@ start_ndbcluster()
...
@@ -1230,7 +1230,7 @@ start_ndbcluster()
then
then
NDBCLUSTER_EXTRA_OPTS
=
"--small"
NDBCLUSTER_EXTRA_OPTS
=
"--small"
fi
fi
OPTS
=
"
$NDBCLUSTER_OPTS
$NDBCLUSTER_EXTRA_OPTS
--verbose=
$NDB_VERBOSE
--initial --relative-config-data-dir --core"
OPTS
=
"
$NDBCLUSTER_OPTS
$NDBCLUSTER_EXTRA_OPTS
--
character-sets-dir=
$CHARSETSDIR
--
verbose=
$NDB_VERBOSE
--initial --relative-config-data-dir --core"
if
[
"x
$NDB_VERBOSE
"
!=
"x0"
]
;
then
if
[
"x
$NDB_VERBOSE
"
!=
"x0"
]
;
then
echo
"Starting master ndbcluster "
$OPTS
echo
"Starting master ndbcluster "
$OPTS
fi
fi
...
...
mysql-test/ndb/ndbcluster.sh
View file @
fe67d648
...
@@ -66,6 +66,7 @@ VERBOSE=100
...
@@ -66,6 +66,7 @@ VERBOSE=100
NDB_MGM_EXTRA_OPTS
=
NDB_MGM_EXTRA_OPTS
=
NDB_MGMD_EXTRA_OPTS
=
NDB_MGMD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
NDBD_EXTRA_OPTS
=
CHARSETSDIR
=
while
test
$#
-gt
0
;
do
while
test
$#
-gt
0
;
do
case
"
$1
"
in
case
"
$1
"
in
...
@@ -119,6 +120,9 @@ while test $# -gt 0; do
...
@@ -119,6 +120,9 @@ while test $# -gt 0; do
--ndbd-extra-opts
=
*
)
--ndbd-extra-opts
=
*
)
NDBD_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndbd-extra-opts=;;"
`
NDBD_EXTRA_OPTS
=
`
echo
"
$1
"
|
sed
-e
"s;--ndbd-extra-opts=;;"
`
;;
;;
--character-sets-dir
=
*
)
CHARSETSDIR
=
`
echo
"
$1
"
|
sed
-e
"s;--character-sets-dir=;;"
`
;;
--core
)
--core
)
opt_core
=
"--core"
opt_core
=
"--core"
;;
;;
...
@@ -159,7 +163,7 @@ fi
...
@@ -159,7 +163,7 @@ fi
exec_mgmtclient
=
"
$exec_mgmtclient
--no-defaults
$opt_core
$NDB_MGM_EXTRA_OPTS
"
exec_mgmtclient
=
"
$exec_mgmtclient
--no-defaults
$opt_core
$NDB_MGM_EXTRA_OPTS
"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults
$opt_core
$NDB_MGMD_EXTRA_OPTS
"
exec_mgmtsrvr
=
"
$exec_mgmtsrvr
--no-defaults
$opt_core
$NDB_MGMD_EXTRA_OPTS
"
exec_ndb
=
"
$exec_ndb
--no-defaults
$opt_core
$NDBD_EXTRA_OPTS
"
exec_ndb
=
"
$exec_ndb
--no-defaults
$opt_core
$NDBD_EXTRA_OPTS
--character-sets-dir=
$CHARSETSDIR
"
exec_waiter
=
"
$exec_waiter
--no-defaults
$opt_core
"
exec_waiter
=
"
$exec_waiter
--no-defaults
$opt_core
"
ndb_host
=
"localhost"
ndb_host
=
"localhost"
...
...
storage/ndb/include/util/ndb_opts.h
View file @
fe67d648
...
@@ -84,7 +84,10 @@ const char *opt_debug= 0;
...
@@ -84,7 +84,10 @@ const char *opt_debug= 0;
0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },\
0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },\
{ "core-file", OPT_WANT_CORE, "Write core on errors.",\
{ "core-file", OPT_WANT_CORE, "Write core on errors.",\
(gptr*) &opt_core, (gptr*) &opt_core, 0,\
(gptr*) &opt_core, (gptr*) &opt_core, 0,\
GET_BOOL, NO_ARG, OPT_WANT_CORE_DEFAULT, 0, 0, 0, 0, 0}
GET_BOOL, NO_ARG, OPT_WANT_CORE_DEFAULT, 0, 0, 0, 0, 0},\
{"character-sets-dir", OPT_CHARSETS_DIR,\
"Directory where character sets are.", (gptr*) &charsets_dir,\
(gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}\
#ifndef DBUG_OFF
#ifndef DBUG_OFF
#define NDB_STD_OPTS(prog_name) \
#define NDB_STD_OPTS(prog_name) \
...
@@ -111,6 +114,7 @@ enum ndb_std_options {
...
@@ -111,6 +114,7 @@ enum ndb_std_options {
OPT_WANT_CORE
,
OPT_WANT_CORE
,
OPT_NDB_MGMD
,
OPT_NDB_MGMD
,
OPT_NDB_NODEID
,
OPT_NDB_NODEID
,
OPT_CHARSETS_DIR
,
NDB_STD_OPTIONS_LAST
/* should always be last in this enum */
NDB_STD_OPTIONS_LAST
/* should always be last in this enum */
};
};
...
...
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